Re: [Python-Dev] Windows registry path not ignored with Py_IgnoreEnvironmentFlag set

2010-06-05 Thread Terry Reedy
On 6/5/2010 10:55 AM, Guido van Rossum wrote: I don't object (this had never occurred to me), but is Python on Windows fully functioning when the registry is entirely ignored? There have been a couple of portable CPython-on-a-CD or memory stick that supposedly run on any machine without 'inst

Re: [Python-Dev] Windows registry path not ignored with Py_IgnoreEnvironmentFlag set

2010-06-05 Thread Michael Foord
On 05/06/2010 19:03, Farshid Lashkari wrote: On Sat, Jun 5, 2010 at 7:55 AM, Guido van Rossum > wrote: I don't object (this had never occurred to me), but is Python on Windows fully functioning when the registry is entirely ignored? Yes, it works fine. This

Re: [Python-Dev] Windows registry path not ignored with Py_IgnoreEnvironmentFlag set

2010-06-05 Thread Kristján Valur Jónsson
[mailto:python-dev-bounces+kristjan=ccpgames@python.org] On Behalf > Of Guido van Rossum > Sent: 5. júní 2010 14:55 > To: Mark Hammond > Cc: Python-Dev > Subject: Re: [Python-Dev] Windows registry path not ignored with > Py_IgnoreEnvironmentFlag set > > I don't obj

Re: [Python-Dev] Windows registry path not ignored with Py_IgnoreEnvironmentFlag set

2010-06-05 Thread Farshid Lashkari
On Sat, Jun 5, 2010 at 7:55 AM, Guido van Rossum wrote: > > I don't object (this had never occurred to me), but is Python on > Windows fully functioning when the registry is entirely ignored? I believe so. The path of executable and Python DLL are used to initialize sys.path, which should be eno

Re: [Python-Dev] Windows registry path not ignored with Py_IgnoreEnvironmentFlag set

2010-06-05 Thread Guido van Rossum
On Fri, Jun 4, 2010 at 4:47 PM, Mark Hammond wrote: > On 2/06/2010 11:32 AM, Farshid Lashkari wrote: >> >> 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

Re: [Python-Dev] Windows registry path not ignored with Py_IgnoreEnvironmentFlag set

2010-06-04 Thread Mark Hammond
On 2/06/2010 11:32 AM, Farshid Lashkari wrote: 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 guess it falls somewhere in the middle - the flag refers to the 'enviro