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 vstinner
Recipients ezio.melotti, jcea, python-dev, vstinner
Date 2012-12-04.02:30:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354588231.44.0.253473737736.issue16455@psf.upfronthosting.co.za>
In-reply-to
Content
> We have two options, I don't know which one is the best (safer).

Force ASCII is safer. Python should announce that it does not "understand" non-ASCII bytes on the command line. I also chose this option because isalpha(0xe9) returns 0 (even if mbstowcs(0xe9) returns L"\xe9"): FreeBSD doesn't consider U+00E9 as a letter in the C locale, so Python should also consider this byte as raw data.
History
Date User Action Args
2012-12-04 02:30:31vstinnersetrecipients: + vstinner, jcea, ezio.melotti, python-dev
2012-12-04 02:30:31vstinnersetmessageid: <1354588231.44.0.253473737736.issue16455@psf.upfronthosting.co.za>
2012-12-04 02:30:31vstinnerlinkissue16455 messages
2012-12-04 02:30:31vstinnercreate