[Python-checkins] cpython: whatsnew: ppring string wrapping, string pickling optimization.
r.david.murray
python-checkins at python.org
Sun Jan 5 00:29:41 CET 2014
http://hg.python.org/cpython/rev/d0c710d34927
changeset: 88303:d0c710d34927
user: R David Murray <rdmurray at bitdance.com>
date: Sat Jan 04 17:11:23 2014 -0500
summary:
whatsnew: ppring string wrapping, string pickling optimization.
Also clarify some NEWS entries.
files:
Doc/whatsnew/3.4.rst | 7 +++++++
Misc/NEWS | 12 ++++++------
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -847,6 +847,9 @@
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 @@
* :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
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -2282,7 +2282,7 @@
- Issue #15596: Faster pickling of unicode strings.
-- Issue #17572: Avoid chained exceptions while passing bad directives to
+- Issue #17572: Avoid chained exceptions when passing bad directives to
time.strptime(). Initial patch by Claudiu Popa.
- Issue #17435: threading.Timer's __init__ method no longer uses mutable
@@ -2291,7 +2291,7 @@
- Issue #17526: fix an IndexError raised while passing code without filename to
inspect.findsource(). Initial patch by Tyler Doyle.
-- Issue #17540: Added style to formatter configuration by dict.
+- Issue #17540: Added style parameter to logging formatter configuration by dict.
- Issue #16692: The ssl module now supports TLS 1.1 and TLS 1.2. Initial
patch by Michele Orrù.
@@ -2312,10 +2312,10 @@
- Issue #17521: Corrected non-enabling of logger following two calls to
fileConfig().
-- Issue #17508: Corrected MemoryHandler configuration in dictConfig() where
- the target handler wasn't configured first.
-
-- Issue #17209: curses.window.get_wch() now handles correctly KeyboardInterrupt
+- Issue #17508: Corrected logging MemoryHandler configuration in dictConfig()
+ where the target handler wasn't configured first.
+
+- Issue #17209: curses.window.get_wch() now correctly handles KeyboardInterrupt
(CTRL+c).
- Issue #5713: smtplib now handles 421 (closing connection) error codes when
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list