mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
whatsnew: ppring string wrapping, string pickling optimization.
Also clarify some NEWS entries.
This commit is contained in:
parent
57fcf76d73
commit
b231b2be07
2 changed files with 12 additions and 5 deletions
|
@ -847,6 +847,9 @@ pprint
|
|||
The :mod:`pprint` module now supports *compact* mode for formatting long
|
||||
sequences (:issue:`19132`).
|
||||
|
||||
Long strings are now wrapped using Python's normal line continuation
|
||||
syntax (Contributed by Antoine Pitrou in :issue:`17150`.)
|
||||
|
||||
|
||||
pty
|
||||
---
|
||||
|
@ -1259,6 +1262,10 @@ Significant Optimizations
|
|||
* :func:`random.getrandbits` is 20%-40% faster for small integers (the most
|
||||
common use case). (Contributed by Serhiy Storchaka in :issue:`16674`).
|
||||
|
||||
* By taking advantage of the new storage format for strings, pickling of
|
||||
strings is now significantly faster. (Contributed by Victor Stinner and
|
||||
Antoine Pitrou in :issue:`15596`.)
|
||||
|
||||
|
||||
|
||||
Deprecated
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue