]> granicus.if.org Git - python/commit
Issue #16416: OS data are now always encoded/decoded to/from
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 12 Nov 2012 22:04:02 +0000 (23:04 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 12 Nov 2012 22:04:02 +0000 (23:04 +0100)
commite262377cabc59f0c7d574ce608b61f692601608b
treef70a1f34134501f41479f9648cc793d815bf0717
parent29824550b1758bc96c24749ce5772e33d1615599
Issue #16416: OS data are now always encoded/decoded to/from
UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no
locale environment variable is set), to avoid inconsistencies with
os.fsencode() and os.fsdecode() functions which are already using
UTF-8/surrogateescape.
Misc/NEWS
Modules/python.c
Python/fileutils.c