[New-bugs-announce] [issue8901] Windows registry path not ignored with -E option
report at bugs.python.org
Sat Jun 5 04:39:25 CEST 2010
New submission from flashk <flashk at gmail.com>:
I noticed that Python still uses the Windows registry to initialize sys.path, when the -E option is used.
>From my understanding, this option is mostly used by programs that are running an embedded version of python, and don't want it to be affected by global installations. Ignoring the registry, along with environment variables, seems to be the correct behavior in this case.
I asked about this on the python-dev list (http://mail.python.org/pipermail/python-dev/2010-June/100492.html) and was told to submit a patch for this if I wanted it fixed before the 2.7 release.
I've included a patch for 2.7 and 3.2
components: Interpreter Core
title: Windows registry path not ignored with -E option
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file17558/IgnoreWindowsRegistry_27.patch
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce