mirror of
https://github.com/python/cpython.git
synced 2025-09-30 12:21:51 +00:00
Neaten up structure of major sections.
Also move tick_counter from deprecated section to removed section.
This commit is contained in:
parent
076deadd81
commit
d74d09ab4a
1 changed files with 20 additions and 13 deletions
|
@ -1035,8 +1035,6 @@ implemented in C.
|
||||||
Other Build and C API Changes
|
Other Build and C API Changes
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
Other changes to Python's build process and to the C API include:
|
|
||||||
|
|
||||||
* The new :c:func:`Py_SetStandardStreamEncoding` pre-initialization API
|
* The new :c:func:`Py_SetStandardStreamEncoding` pre-initialization API
|
||||||
allows applications embedding the CPython interpreter to reliably force
|
allows applications embedding the CPython interpreter to reliably force
|
||||||
a particular encoding and error handler for the standard streams
|
a particular encoding and error handler for the standard streams
|
||||||
|
@ -1078,10 +1076,8 @@ Other Improvements
|
||||||
:issue:`13390`).
|
:issue:`13390`).
|
||||||
|
|
||||||
|
|
||||||
Optimizations
|
Significant Optimizations
|
||||||
=============
|
=========================
|
||||||
|
|
||||||
Major performance enhancements have been added:
|
|
||||||
|
|
||||||
* The UTF-32 decoder is now 3x to 4x faster.
|
* The UTF-32 decoder is now 3x to 4x faster.
|
||||||
|
|
||||||
|
@ -1112,6 +1108,12 @@ Major performance enhancements have been added:
|
||||||
Deprecated
|
Deprecated
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
This section covers various APIs and other features that have been deprecated
|
||||||
|
in Python 3.4, and will be removed in Python 3.5 or later. In most (but not
|
||||||
|
all) cases, using the deprecated APIs will produce a :exc:`DeprecationWarning`
|
||||||
|
when the interpreter is run with deprecation warnings enabled (for example, by
|
||||||
|
using ``-Wd``).
|
||||||
|
|
||||||
|
|
||||||
Deprecated Python Modules, Functions and Methods
|
Deprecated Python Modules, Functions and Methods
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
|
@ -1138,8 +1140,7 @@ Deprecated Python Modules, Functions and Methods
|
||||||
Deprecated Functions and Types in the C API
|
Deprecated Functions and Types in the C API
|
||||||
-------------------------------------------
|
-------------------------------------------
|
||||||
|
|
||||||
* The ``PyThreadState.tick_counter`` field has been removed: its value was
|
XXX: None so far
|
||||||
meaningless since Python 3.2 ("new GIL").
|
|
||||||
|
|
||||||
|
|
||||||
Deprecated Features
|
Deprecated Features
|
||||||
|
@ -1152,8 +1153,11 @@ Deprecated Features
|
||||||
Removed
|
Removed
|
||||||
=======
|
=======
|
||||||
|
|
||||||
* Support for the following previously deprecated operating systems has been
|
The following previously deprecated APIs and features have been removed
|
||||||
removed from the source and build tools:
|
in Python 3.4:
|
||||||
|
|
||||||
|
* Support for the following operating systems has been removed from the source
|
||||||
|
and build tools:
|
||||||
|
|
||||||
* OS/2 (:issue:`16135`).
|
* OS/2 (:issue:`16135`).
|
||||||
* Windows 2000 (changeset e52df05b496a).
|
* Windows 2000 (changeset e52df05b496a).
|
||||||
|
@ -1166,16 +1170,19 @@ Removed
|
||||||
* The ``SO`` makefile macro is removed (it was replaced by the
|
* The ``SO`` makefile macro is removed (it was replaced by the
|
||||||
``SHLIB_SUFFIX`` and ``EXT_SUFFIX`` macros) (:issue:`16754`).
|
``SHLIB_SUFFIX`` and ``EXT_SUFFIX`` macros) (:issue:`16754`).
|
||||||
|
|
||||||
|
* The ``PyThreadState.tick_counter`` field has been removed; its value has
|
||||||
|
been meaningless since Python 3.2, when the "new GIL" was introduced.
|
||||||
|
|
||||||
|
|
||||||
Porting to Python 3.4
|
Porting to Python 3.4
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
Changes in the Python API
|
|
||||||
-------------------------
|
|
||||||
|
|
||||||
This section lists previously described changes and other bugfixes
|
This section lists previously described changes and other bugfixes
|
||||||
that may require changes to your code.
|
that may require changes to your code.
|
||||||
|
|
||||||
|
Changes in the Python API
|
||||||
|
-------------------------
|
||||||
|
|
||||||
* The ABCs defined in :mod:`importlib.abc` now either raise the appropriate
|
* The ABCs defined in :mod:`importlib.abc` now either raise the appropriate
|
||||||
exception or return a default value instead of raising
|
exception or return a default value instead of raising
|
||||||
:exc:`NotImplementedError` blindly. This will only affect code calling
|
:exc:`NotImplementedError` blindly. This will only affect code calling
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue