]> granicus.if.org Git - python/commit
_wrealpath() and _Py_wreadlink() support surrogates (PEP 383)
authorVictor Stinner <victor.stinner@haypocalc.com>
Thu, 7 Oct 2010 11:06:49 +0000 (11:06 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Thu, 7 Oct 2010 11:06:49 +0000 (11:06 +0000)
commit7ae7c87b058137537bdc2b7f1d8e585aa0245c1c
treec23f7910cea32d9381d663c46c68123094601f71
parentafa88b5dac1b068ccc33b65cd4da400a290b137e
_wrealpath() and _Py_wreadlink() support surrogates (PEP 383)

Use _Py_wchar2char() to support surrogate characters in the input path.
Modules/getpath.c
Python/sysmodule.c