Message74785
| Author |
vstinner |
| Recipients |
vstinner |
| Date |
2008年10月15日.00:48:42 |
| SpamBayes Score |
2.0451637e-06 |
| Marked as misclassified |
No |
| Message-id |
<1224031723.55.0.81896983701.issue4126@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Note: I don't have Windows at home to test my patch on Windows. At
least, the patch works correctly on Ubuntu Gutsy/i386.
Example to demonstrate the issue:
$ env -i a=a b=$(echo -e '--\xff--') c=c ./python -c "import os;
os.execvp('/usr/bin/env', ['/usr/bin/env'])"
a=a
b=--�--
c=c
Patched Python:
$ env -i a=a b=$(echo -e '--\xff--') c=c ./python -c "import os;
os.execvp('/usr/bin/env', ['/usr/bin/env'])"
a=a
c=c
I tested Python 2.5: b is also removed, but Python 2.6 keeps the
variable b. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年10月15日 00:48:43 | vstinner | set | recipients:
+ vstinner |
| 2008年10月15日 00:48:43 | vstinner | set | messageid: <1224031723.55.0.81896983701.issue4126@psf.upfronthosting.co.za> |
| 2008年10月15日 00:48:43 | vstinner | link | issue4126 messages |
| 2008年10月15日 00:48:42 | vstinner | create |
|