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 pitrou
Recipients brett.cannon, loewis, pitrou, terry.reedy
Date 2012-10-12.21:06:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350076003.78.0.646789699493.issue16213@psf.upfronthosting.co.za>
In-reply-to
Content
> As for fix_co_filename, I think it would indeed be useful if
> marshal.load(s) supported an optional filename= parameter, which then
> fills rf.current_filename.

AFAIR, the problem is that you first need to import the locale module (and its dependencies) before you can decide what the filesystem encoding is. Until that, you aren't sure the filenames have been decoded correctly.
History
Date User Action Args
2012-10-12 21:06:43pitrousetrecipients: + pitrou, loewis, brett.cannon, terry.reedy
2012-10-12 21:06:43pitrousetmessageid: <1350076003.78.0.646789699493.issue16213@psf.upfronthosting.co.za>
2012-10-12 21:06:43pitroulinkissue16213 messages
2012-10-12 21:06:43pitroucreate