Commit c9855aea authored by R David Murray's avatar R David Murray

whatsnew: from __future__ string exception, attribute UTF-32 decoder speedup.

And more news entry clarifications.
parent 86767feb
...@@ -1234,7 +1234,8 @@ Other Improvements ...@@ -1234,7 +1234,8 @@ Other Improvements
Significant Optimizations 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 * 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 probe now checks a series of consecutive, adjacent key/hash pairs before
...@@ -1437,6 +1438,12 @@ Changes in the Python API ...@@ -1437,6 +1438,12 @@ Changes in the Python API
keyword. If you've been paying attention to deprecation warnings your code keyword. If you've been paying attention to deprecation warnings your code
should already be specifying any additional arguments via keywords. 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 Changes in the C API
-------------------- --------------------
......
...@@ -2243,10 +2243,10 @@ Library ...@@ -2243,10 +2243,10 @@ Library
calls. calls.
- Issue #17566: Make importlib.abc.Loader.module_repr() optional instead of an - Issue #17566: Make importlib.abc.Loader.module_repr() optional instead of an
abstractmethod and raising NotImplementedError so as to be ignored by default. abstractmethod; now it raises NotImplementedError so as to be ignored by default.
- Issue #17678: Remove the use of deprecated method in http/cookiejar.py. - Issue #17678: Remove the use of deprecated method in http/cookiejar.py by
Changing the usage of get_origin_req_host() to origin_req_host. changing the call to get_origin_req_host() to origin_req_host.
- Issue #17666: Fix reading gzip files with an extra field. - Issue #17666: Fix reading gzip files with an extra field.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment