[Python-Dev] [Python-checkins] peps: Further PEP 432 updates

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 ``Py_IgnoreEnvironmentFlag`` before
>  calling ``Py_Initialize()``.
>
>  In the CPython source code, the ``Py_GETENV`` 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