]> granicus.if.org Git - python/commit
Revert r85435 (and r85440): decode command line arguments from utf-8
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 13 Oct 2010 23:24:06 +0000 (23:24 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 13 Oct 2010 23:24:06 +0000 (23:24 +0000)
commit052a04d34a3841996af59962b038f05af63abacc
tree763e4056730872f8b5c19f8e847c36c2c4a1c303
parent59a289d16b6716f3f106ee14c5562186cda310b2
Revert r85435 (and r85440): decode command line arguments from utf-8

Python exits with a fatal error if the command line contains an undecodable
argument. PyUnicode_FromString() fails at the first undecodable byte because it
calls the error handler, but error handlers are not ready before Python
initialization.
Misc/NEWS
Modules/python.c