[issue18987] distutils.utils.get_platform() for 32-bit Python on a 64-bit machine

2016-03-29 Thread Paul Morelle
Changes by Paul Morelle <madp...@htkc.org>: -- nosy: +madprog ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18987> ___ __

[issue3440] Starting any program as a subprocess fails when subprocess.Popen has env argument

2009-04-09 Thread Paul Morelle
Paul Morelle madp...@htkc.org added the comment: Hello, I can reproduce the bug on a Windows XP Professional, SP 3, with three versions of Python: Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] on win32 Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit

[issue3440] Starting any program as a subprocess fails when subprocess.Popen has env argument

2009-04-09 Thread Paul Morelle
Paul Morelle madp...@htkc.org added the comment: I have just figured out that if you initialize env with os.environ.copy() and then add/modify its components, then the bug disappears: env = os.environ.copy() env['FOO'] = 'BAR' […] But I have no idea (for the moment) of which variable