-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
++++++++++++++++++ | ||
Deprecate old APIs | ||
++++++++++++++++++ | ||
|
||
CPython is old, the code evolved. Some functions became useless and so should | ||
be removed. But backward compatibility matters in Python, so we need a | ||
transition period with a deprecation process. | ||
|
||
The deprecation can be: | ||
|
||
* Emitted at runtime: ``DeprecationWarning`` | ||
* At the compilation: ``Py_DEPRECATED()`` | ||
* In the documentation | ||
|
||
Functions that should deprecated: | ||
|
||
* Unicode functions using ``Py_UNICODE`` type | ||
* Py_VA_COPY: see `email <https://mail.python.org/pipermail/python-dev/2016-September/146537.html>`_ | ||
|
||
See: | ||
|
||
* https://bugs.python.org/issue19569 | ||
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,4 +100,5 @@ Table of Contents | |
performance | ||
split_include | ||
pyhandle | ||
deprecate | ||
|