[Python-Dev] [Python-checkins] peps: Further PEP 432 updates (original) (raw)

Brett Cannon brett at python.org
Mon Dec 31 15:35:17 CET 2012


On Sun, Dec 30, 2012 at 8:39 AM, nick.coghlan <python-checkins at python.org>wrote:

[SNIP] The -E command line option allows all environment variables to be -ignored when initialising the Python interpreter. An embedding application +ignored when initializing the Python interpreter. An embedding application can enable this behaviour by setting PyIgnoreEnvironmentFlag before calling PyInitialize().

In the CPython source code, the PyGETENV macro implicitly checks this flag, and always produces NULL if it is set. +<TBD: I believe PYTHONCASEOK is checked regardless of this setting > <TBD: Does -E also ignore Windows registry keys? > That is true and that is a bug. =)

http://bugs.python.org/issue16826 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20121231/135e1da0/attachment.html>



More information about the Python-Dev mailing list