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 amaury.forgeotdarc, pitrou, python-dev, terry.reedy, vstinner
Date 2011-04-20.01:43:39
SpamBayes Score 5.66827e-09
Marked as misclassified No
Message-id <1303263821.79.0.716029876941.issue11619@psf.upfronthosting.co.za>
In-reply-to
Content
> c) parse_source_module()
> => covered by the issue #10785.

Issue #10785 didn't change parse_source_module(): it does still encode the filename.

We need Unicode version of PyParser_ASTFromFile() and PyAST_Compile(): a new version of these functions accepting a filename as a Unicode string.

For PyParser_ASTFromFile(): #10785 prepared the work.

For PyAST_Compile(): struct compiler stores the filename as a byte string, the filename should be stored as Unicode.
History
Date User Action Args
2011-04-20 01:43:41vstinnersetrecipients: + vstinner, terry.reedy, amaury.forgeotdarc, pitrou, python-dev
2011-04-20 01:43:41vstinnersetmessageid: <1303263821.79.0.716029876941.issue11619@psf.upfronthosting.co.za>
2011-04-20 01:43:39vstinnerlinkissue11619 messages
2011-04-20 01:43:39vstinnercreate