]> granicus.if.org Git - python/commit
Issue #8589: surrogateescape error handler is not available at startup
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 10 Sep 2010 23:13:52 +0000 (23:13 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 10 Sep 2010 23:13:52 +0000 (23:13 +0000)
commitc2d76fd339f5fcc4f0051696e5e57c979289a9c3
tree56a6fb0231f07711dcf0970eddf54dba5b1c5334
parentd2be5b4fe4cbca197d27e853a08e6339945c879a
Issue #8589: surrogateescape error handler is not available at startup

Py_Main() uses _Py_wchar2char() + PyUnicode_FromWideChar() instead of
PyUnicode_DecodeFSDefault(), because the PyCodec machinery is not ready yet.
Modules/main.c