Message103279
| Author |
vstinner |
| Recipients |
vstinner |
| Date |
2010年04月16日.01:00:25 |
| SpamBayes Score |
4.5554172e-10 |
| Marked as misclassified |
No |
| Message-id |
<1271379631.41.0.549637890602.issue8391@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
New version of the patch:
- factorize code between execve(), spawnve() and spawnvpe()
- support also surrogates in environment variable names
- support bytes and bytearray (bytearray cannot be used as a dictionary key, but my patch supports it)
- remove unrelated fix (my first patch contains a fix for os.system(), also about surrogates)
Because of the factorization, the error messages doesn't contain the function name anymore. spawnve() and spawnvpe() omit BEGINLIBPATH and ENDLIBPATH, as execve(): "that Would Confuse Programs if Passed On". I suppose that if execve() ignore them, spawn*e() should also ignore them.
I don't have an OS/2, so I'm unable to test my patch on this OS :-/
Note: The patch fixes also subprocess to support bytes and bytearray in the environment dictionary. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年04月16日 01:00:31 | vstinner | set | recipients:
+ vstinner |
| 2010年04月16日 01:00:31 | vstinner | set | messageid: <1271379631.41.0.549637890602.issue8391@psf.upfronthosting.co.za> |
| 2010年04月16日 01:00:29 | vstinner | link | issue8391 messages |
| 2010年04月16日 01:00:28 | vstinner | create |
|