Message104058
os.execve() and os.execvpe() of Python 3.1 eats some bytes of the environment variables: see msg103459. The problem is that it counts *characters* to allocate the *byte* string buffer.
Attached patch fixes this issue. It contains a test which may stay specific to Python 3.1 because Python 3.2 have its own test for non-ASCII environment variables: test_undecodeable_env in test_subprocess (introduced by #8391).
See also #8391. |
|
Date |
User |
Action |
Args |
2010-04-23 22:40:52 | vstinner | set | recipients:
+ vstinner, Arfrever |
2010-04-23 22:40:51 | vstinner | set | messageid: <1272062451.81.0.836509652271.issue8512@psf.upfronthosting.co.za> |
2010-04-23 22:40:50 | vstinner | link | issue8512 messages |
2010-04-23 22:40:50 | vstinner | create | |
|