Message74313
| Author |
vstinner |
| Recipients |
loewis, vstinner |
| Date |
2008年10月04日.11:31:27 |
| SpamBayes Score |
2.3858402e-07 |
| Marked as misclassified |
No |
| Message-id |
<1223119888.23.0.234638218956.issue4035@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The fix can be changed to be specific to POSIX system:
+ if name == 'posix' \
+ and isinstance(file, bytes):
+ encoding = sys.getfilesystemencoding()
+ PATH = (bytes(dir, encoding) for dir in PATH)
My example was incorrect. The good example is:
python -c "import os; os.execvp('pwd', ['pwd']) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年10月04日 11:31:28 | vstinner | set | recipients:
+ vstinner, loewis |
| 2008年10月04日 11:31:28 | vstinner | set | messageid: <1223119888.23.0.234638218956.issue4035@psf.upfronthosting.co.za> |
| 2008年10月04日 11:31:27 | vstinner | link | issue4035 messages |
| 2008年10月04日 11:31:27 | vstinner | create |
|