Author vstinner
Recipients loewis, vstinner
Date 2008-10-04.11:31:27
SpamBayes Score 2.38584e-07
Marked as misclassified No
Message-id <>
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'])
Date User Action Args
2008-10-04 11:31:28vstinnersetrecipients: + vstinner, loewis
2008-10-04 11:31:28vstinnersetmessageid: <>
2008-10-04 11:31:27vstinnerlinkissue4035 messages
2008-10-04 11:31:27vstinnercreate