> Aha: Introduced in Py 2.2:http://hg.python.org/cpython/rev/20551 > (release ov Py 2.2 is rev/22671.
Sorry, did not read this thoroughly before. I see that the __delitem__ method was also modified there, so the automatic call fo "unsetenv" is in place already in 2.2. So, yes you are right. os.environ[name]="" del os.environ[name] should do the job. However, on platforms with "unsetenv" there will be an extra unnecessary call to "putenv" from the first line. /Martin -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
