Author flashk
Recipients flashk
Date 2010-06-05.02:39:22
SpamBayes Score 9.3313e-06
Marked as misclassified No
Message-id <>

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 ( 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
Date User Action Args
2010-06-05 02:39:25flashksetrecipients: + flashk
2010-06-05 02:39:25flashksetmessageid: <>
2010-06-05 02:39:23flashklinkissue8901 messages
2010-06-05 02:39:22flashkcreate