Message117676
[cmdline_encoding-2.patch] Patch to use locale encoding to decode and encode command line arguments. Remarks about the patch:
- failing to get the locale encoding (very unlikely) is a fatal error
- TODO: in initfsencoding(), Py_FileSystemDefaultEncoding should reuse Py_CommandLineEncoding instead of calling get_codeset() again
- subprocess encodes arguments to the command line encoding for _posixsubprocess and Python implementations
- _posixsubprocess doesn't support unicode command line arguments anymore
The patch is an updated version of the patch attached to #8775.
Using the patch, locale_fs_encoding.py test script pass. |
|
Date |
User |
Action |
Args |
2010-09-29 23:46:00 | vstinner | set | recipients:
+ vstinner, pjenvey |
2010-09-29 23:45:59 | vstinner | set | messageid: <1285803959.95.0.943974192019.issue9992@psf.upfronthosting.co.za> |
2010-09-29 23:45:58 | vstinner | link | issue9992 messages |
2010-09-29 23:45:57 | vstinner | create | |
|