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 xtreak
Recipients Marcus.Smith, Suzumizaki, dstufft, ncoghlan, paul.moore, serhiy.storchaka, tanbro-liu, vstinner, xtreak
Date 2018-10-17.10:16:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539771371.12.0.788709270274.issue24307@psf.upfronthosting.co.za>
In-reply-to
Content
@Victor I think this is an issue with optparse where it can't handle non-ASCII strings for %default that is exposed by pip. I can see similar places where non-ASCII strings can cause issue in argparse for unicode choices (issue35009). I think this is a general issue where str() is used where non-ASCII strings throw this error. I am quite new to unicode so I don't know if this issue needs to be fixed in Python 2.7 or it's an error from the user end where their script needs to be fixed?
History
Date User Action Args
2018-10-17 10:16:11xtreaksetrecipients: + xtreak, paul.moore, ncoghlan, vstinner, Suzumizaki, serhiy.storchaka, dstufft, Marcus.Smith, tanbro-liu
2018-10-17 10:16:11xtreaksetmessageid: <1539771371.12.0.788709270274.issue24307@psf.upfronthosting.co.za>
2018-10-17 10:16:11xtreaklinkissue24307 messages
2018-10-17 10:16:11xtreakcreate