[Python-Dev] Windows registry path not ignored with Py_IgnoreEnvironmentFlag set (original) (raw)

Farshid Lashkari flashk at gmail.com
Wed Jun 2 20:32:55 CEST 2010


Hello,

I noticed that if Py_IgnoreEnvironmentFlag is enabled, the Windows registry is still used to initialize sys.path during startup. Is this an oversight or intentional?

I assumed one of the intentions of this flag is to prevent embedded Python interpreters from being affected by other Python installations. Ignoring the Window registry as well as environment variables seems to make sense in this situation.

If this is an oversight, would it be too late to have this fixed in Python 2.7?

Cheers, Farshid -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20100602/a86ef75d/attachment.html>



More information about the Python-Dev mailing list