Amaury reopened my issue #8393 subprocess: support undecodable current
working directory on POSIX OS because It does not work on Windows (bytes
are rejected).
I see. I'd like to know whether that's an incompatible change. We
shouldn't make incompatible changes in that matter. However, if you
Hi,
I'm working on surrogates in filenames on Linux (more generally on BSD and
UNIX OS) to support undecodable filenames, see PEP 383. Amaury told me that I
only fixed the non-Windows versions (I fixed subprocess about the current
directory and _ctypes.dlopen()), but it doesn't work on
Le lundi 19 avril 2010 11:33:58, Victor Stinner a écrit :
I'm working on surrogates in filenames on Linux (...)
Related issues:
#8391: os.execvpe() doesn't support surrogates in env
#8393: subprocess: support undecodable current working directory on POSIX OS
#8394: ctypes.dlopen() doesn't
Victor Stinner victor.stinner at haypocalc.com writes:
It's a choice, I didn't want to patch Windows because I know that Windows use
unicode internally. I consider that developers using Python3 should use
unicode on Windows, and byte or unicode+surrogates on other OS.
I think both
Antoine Pitrou wrote:
Victor Stinner victor.stinner at haypocalc.com writes:
It's a choice, I didn't want to patch Windows because I know that Windows
use
unicode internally. I consider that developers using Python3 should use
unicode on Windows, and byte or unicode+surrogates on other OS.
I'm working on surrogates in filenames on Linux (more generally on BSD and
UNIX OS) to support undecodable filenames, see PEP 383. Amaury told me that I
only fixed the non-Windows versions (I fixed subprocess about the current
directory and _ctypes.dlopen()), but it doesn't work on Windows.
Victor Stinner:
It's a choice, I didn't want to patch Windows because I know that Windows use
unicode internally. I consider that developers using Python3 should use
unicode on Windows, and byte or unicode+surrogates on other OS.
The Win32 byte string APIs convert their inputs to Unicode
Le lundi 19 avril 2010 22:55:39, vous avez écrit :
Can you please elaborate what the specific issue is?
Amaury reopened my issue #8393 subprocess: support undecodable current
working directory on POSIX OS because It does not work on Windows (bytes
are rejected).
I completely fail to see what