This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steven.daprano
Recipients berker.peksag, serhiy.storchaka, steven.daprano
Date 2016-07-26.04:56:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20160726045631.GT27919@ando.pearwood.info>
In-reply-to <1469508633.22.0.552058071662.issue27619@psf.upfronthosting.co.za>
Content
On Tue, Jul 26, 2016 at 04:50:33AM +0000, Serhiy Storchaka wrote:

> My answer: if you don't want a space in your long_option, don't put a 
> space in there. There is no a bug in Python, 

That's why I listed it as an enhancement, not a bug.

> and the patch just complicates the code in attempt to fix one 
> particular user error.

Sure. But the extra complexity is tiny, and the benefit is real, and it 
makes Python getopt behave more like the shell getopt, which I think is 
appropriate.
History
Date User Action Args
2016-07-26 04:56:37steven.dapranosetrecipients: + steven.daprano, berker.peksag, serhiy.storchaka
2016-07-26 04:56:37steven.dapranolinkissue27619 messages
2016-07-26 04:56:36steven.dapranocreate