]> granicus.if.org Git - python/commit
Issue #15859: PyUnicode_EncodeFSDefault(), PyUnicode_EncodeMBCS() and
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 26 Jan 2015 15:41:32 +0000 (16:41 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 26 Jan 2015 15:41:32 +0000 (16:41 +0100)
commit29dacf2e97314a16db3f2bef492d1c46f39ad656
treeeee087480c15254bac655e9768dff58d0e2201ec
parenta8efc9601da1fb1402253124767edbb1b1270a8b
Issue #15859: PyUnicode_EncodeFSDefault(), PyUnicode_EncodeMBCS() and
PyUnicode_EncodeCodePage() now raise an exception if the object is not an
Unicode object. For PyUnicode_EncodeFSDefault(), it was already the case on
platforms other than Windows. Patch written by Campbell Barton.
Misc/ACKS
Misc/NEWS
Objects/unicodeobject.c