New submission from flashk <fla...@gmail.com>:

Hi,

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
files: IgnoreWindowsRegistry_27.patch
keywords: patch
messages: 107121
nosy: flashk
priority: normal
severity: normal
status: open
title: Windows registry path not ignored with -E option
type: behavior
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file17558/IgnoreWindowsRegistry_27.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8901>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to