summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-01-04 23:07:20 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-01-04 23:07:20 (GMT)
commit4908f4a1512bd8f8625631f2c763cb04640c434a (patch)
treea9412505ed43a5ff1ad12205aff0112e0aabad17 /Doc/whatsnew
parentb231b2be070a143b349ad90b11151bd4297c396a (diff)
downloadcpython-4908f4a1512bd8f8625631f2c763cb04640c434a.zip
cpython-4908f4a1512bd8f8625631f2c763cb04640c434a.tar.gz
cpython-4908f4a1512bd8f8625631f2c763cb04640c434a.tar.bz2
whatsnew: from __future__ string exception, attribute UTF-32 decoder speedup.
And more news entry clarifications.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.4.rst9
1 files changed, 8 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index 78d5841..f4e809e 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1234,7 +1234,8 @@ Other Improvements
Significant Optimizations
=========================
-* The UTF-32 decoder is now 3x to 4x faster.
+* The UTF-32 decoder is now 3x to 4x faster. (Contributed by Serhiy Storchaka
+ in :issue:`14625`.)
* The cost of hash collisions for sets is now reduced. Each hash table
probe now checks a series of consecutive, adjacent key/hash pairs before
@@ -1437,6 +1438,12 @@ Changes in the Python API
keyword. If you've been paying attention to deprecation warnings your code
should already be specifying any additional arguments via keywords.
+* Strings between ``from __future__ import ...`` statements now *always* raise
+ a :exc:`SyntaxError`. Previously if there was no leading docstring, an
+ interstitial string would sometimes be ignored. This brings CPython into
+ compliance with the language spec; Jython and PyPy already were.
+ (:issue:`17434`).
+
Changes in the C API
--------------------