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 jaraco
Recipients eric.araujo, jaraco, tarek
Date 2013-09-08.17:54:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378662847.21.0.976331393096.issue18936@psf.upfronthosting.co.za>
In-reply-to
Content
oh. My mistake. I didn't realize the error was in 'distutils.fancy_getopt' and not in the getopt module itself. Indeed, the problem doesn't exist under getopt itself, so is specific to distutils and fancy_getopt.

>>> from __future__ import unicode_literals
>>> import getopt
>>> getopt.getopt('-x', 'x', ('--longx',))
([], u'-x')
>>>
History
Date User Action Args
2013-09-08 17:54:07jaracosetrecipients: + jaraco, tarek, eric.araujo
2013-09-08 17:54:07jaracosetmessageid: <1378662847.21.0.976331393096.issue18936@psf.upfronthosting.co.za>
2013-09-08 17:54:07jaracolinkissue18936 messages
2013-09-08 17:54:07jaracocreate