summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-05-17 01:26:01 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-05-17 01:26:01 (GMT)
commit372ac5e73260d6e8c8aefe31fd979a7706841868 (patch)
tree6c8feac35bff3c12181a819e4925f6d094831df4 /Misc
parent6baded49d0abf07f141dae489c6a010af1b1e209 (diff)
downloadcpython-372ac5e73260d6e8c8aefe31fd979a7706841868.zip
cpython-372ac5e73260d6e8c8aefe31fd979a7706841868.tar.gz
cpython-372ac5e73260d6e8c8aefe31fd979a7706841868.tar.bz2
PyObject_Dump() encodes unicode objects to utf8 with backslashreplace (instead
of strict) error handler to escape surrogates
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f801e3e..6b38425 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 3.2 Alpha 1?
Core and Builtins
-----------------
+- PyObject_Dump() encodes unicode objects to utf8 with backslashreplace
+ (instead of strict) error handler to escape surrogates
+
- Issue #8715: Create PyUnicode_EncodeFSDefault() function: Encode a Unicode
object to Py_FileSystemDefaultEncoding with the "surrogateescape" error
handler, and return bytes. If Py_FileSystemDefaultEncoding is not set, fall