Message134972
> copy_script-2.patch uses os.fsencode(), which doesn't exist in Python 3.1.
Correct, with Python 3.1, you can use filename.encode(sys.getfilesystemencoding(), 'surrogateescape'). But you must use os.fsencode() with Python >= 3.2 because on Windows, you cannot use surrogateescape with MBCS (you should use the strict error handler). |
|
Date |
User |
Action |
Args |
2011-05-02 13:53:22 | vstinner | set | recipients:
+ vstinner, lemburg, tarek, eric.araujo, hagen, Arfrever, alexis, mgorny |
2011-05-02 13:53:21 | vstinner | set | messageid: <1304344401.86.0.166167616777.issue10419@psf.upfronthosting.co.za> |
2011-05-02 13:53:21 | vstinner | link | issue10419 messages |
2011-05-02 13:53:21 | vstinner | create | |
|