diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-03-19 23:05:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-19 23:05:51 (GMT) |
commit | c70ab02df2894c34da2223fc3798c0404b41fd79 (patch) | |
tree | f97dfba89426b0fffa50b103a0afd213f42bca4a /Misc | |
parent | fd23cfa464ab93273370475900819c1ea37c852f (diff) | |
download | cpython-c70ab02df2894c34da2223fc3798c0404b41fd79.zip cpython-c70ab02df2894c34da2223fc3798c0404b41fd79.tar.gz cpython-c70ab02df2894c34da2223fc3798c0404b41fd79.tar.bz2 |
bpo-36365: Rewrite structseq_repr() using _PyUnicodeWriter (GH-12440)
No longer limit repr(structseq) to 512 bytes. Use _PyUnicodeWriter
for better performance and to write directly Unicode rather than
encoding repr() value to UTF-8 and then decoding from UTF-8.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2019-03-19-15-58-23.bpo-36365.jHaErz.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-03-19-15-58-23.bpo-36365.jHaErz.rst b/Misc/NEWS.d/next/Core and Builtins/2019-03-19-15-58-23.bpo-36365.jHaErz.rst new file mode 100644 index 0000000..206de56 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2019-03-19-15-58-23.bpo-36365.jHaErz.rst @@ -0,0 +1 @@ +repr(structseq) is no longer limited to 512 bytes. |