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 vstinner
Date 2010-12-28.02:40:19
SpamBayes Score 0.0011316809
Marked as misclassified No
Message-id <1293504022.51.0.668746175929.issue10785@psf.upfronthosting.co.za>
In-reply-to
Content
The Python parser stores the filename as a byte string. But it decodes the filename on error because most Python functions now use unicode strings. Instead of decoding the filename at error, which may raise a new error, I propose to decode the filename on the creation of the parser object and only store the filename as unicode.

This issue would prepare the last part of the full unicode support (#3080).
History
Date User Action Args
2010-12-28 02:40:23vstinnersetrecipients: + vstinner
2010-12-28 02:40:22vstinnersetmessageid: <1293504022.51.0.668746175929.issue10785@psf.upfronthosting.co.za>
2010-12-28 02:40:20vstinnerlinkissue10785 messages
2010-12-28 02:40:20vstinnercreate