This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author JonFoster
Recipients JonFoster, dotz, ggenellina, ivank, srid, thatch
Date 2010-02-01.15:46:14
SpamBayes Score 0.00014417616
Marked as misclassified No
Message-id <1265039181.72.0.357567611888.issue6906@psf.upfronthosting.co.za>
In-reply-to
Content
This bug also breaks code that uses the subprocess module, e.g.:

env = os.environ.copy()
env['MY_VARIABLE'] = 'MY_VAL'
subprocess.Popen(... , env=env)

Fails on Windows 7 with an error that the environment can only contain strings.  The offending variables are TK_LIBRARY and TCL_LIBRARY, which have Unicode strings as their values.  I'm using Python 2.6.2.

(The subprocess module should probably be fixed to use CreateProcessW and handle Unicode, but that's a separate issue).
History
Date User Action Args
2010-02-01 15:46:21JonFostersetrecipients: + JonFoster, ggenellina, dotz, srid, ivank, thatch
2010-02-01 15:46:21JonFostersetmessageid: <1265039181.72.0.357567611888.issue6906@psf.upfronthosting.co.za>
2010-02-01 15:46:15JonFosterlinkissue6906 messages
2010-02-01 15:46:14JonFostercreate