homepage

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 python-dev, serhiy.storchaka, vstinner
Date 2013年11月06日.21:10:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383772223.88.0.905903910248.issue19512@psf.upfronthosting.co.za>
In-reply-to
Content
> I don't think these changes are required. The interactive interpreter is not a bottleneck.
What is the problem with these changes?
Identifiers have different advantages. Errors become more unlikely because objects are only initialized once, near startup. So it put also less pressure on code handling errors :) (it is usually the least tested part of the code)
> And definitely adding new public functions to API needs more discussion.
You mean for PyRun_InteractiveOneObject()? Oh, it can be made private, but what is the problem of adding yet another PyRun_Interactive*() function? There are already a lot of them :-)
I also worked hard to support unencodable filenames: using char*, you cannot support arbitrary Unicode filename on Windows. That's why a added many various functions with "Object" suffix. Some examples: PyWarn_ExplicitObject(), PyParser_ParseStringObject(), PyImport_AddModuleObject(), etc.
Some users complained that they were not able to run Python scripts on Windows with unencodable filenames (like russian characters on an english setup). I can try to find the related issues.
History
Date User Action Args
2013年11月06日 21:10:23vstinnersetrecipients: + vstinner, python-dev, serhiy.storchaka
2013年11月06日 21:10:23vstinnersetmessageid: <1383772223.88.0.905903910248.issue19512@psf.upfronthosting.co.za>
2013年11月06日 21:10:23vstinnerlinkissue19512 messages
2013年11月06日 21:10:23vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /