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 serhiy.storchaka
Recipients Marcus.Smith, Suzumizaki, dstufft, ncoghlan, paul.moore, serhiy.storchaka, tanbro-liu, xtreak
Date 2018-10-17.09:45:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539769507.3.0.788709270274.issue24307@psf.upfronthosting.co.za>
In-reply-to
Content
I suppose there is a similar issue in Python 3 with bytes default.

Using unicode() in Python 2 will make the help string an Unicode string, and this can cause an issue with translated help string. And this will cause an issue with non-ASCII 8-bit strings.

Using repr() looks a right way of solving such issues, but this will change the output for 8-bit strings.
History
Date User Action Args
2018-10-17 09:45:07serhiy.storchakasetrecipients: + serhiy.storchaka, paul.moore, ncoghlan, Suzumizaki, dstufft, Marcus.Smith, tanbro-liu, xtreak
2018-10-17 09:45:07serhiy.storchakasetmessageid: <1539769507.3.0.788709270274.issue24307@psf.upfronthosting.co.za>
2018-10-17 09:45:07serhiy.storchakalinkissue24307 messages
2018-10-17 09:45:07serhiy.storchakacreate