PEP 594: track experts (#1077)
This commit is contained in:
parent
d6146f5d72
commit
2feb1d4004
123
pep-0594.rst
123
pep-0594.rst
|
@ -140,35 +140,35 @@ PyPI, e.g. Pillow for image processing or NumPy-based projects to deal with
|
||||||
audio processing.
|
audio processing.
|
||||||
|
|
||||||
.. csv-table:: Table 1: Proposed modules deprecations
|
.. csv-table:: Table 1: Proposed modules deprecations
|
||||||
:header: "Module", "Deprecated in", "To be removed", "Replacement"
|
:header: "Module", "Deprecated in", "To be removed", "Has expert?", "Replacement"
|
||||||
:widths: 1, 1, 1, 2
|
:widths: 1, 1, 1, 1, 2
|
||||||
|
|
||||||
aifc,3.8,3.10,\-
|
aifc,3.8,3.10,**yes (inactive)**,\-
|
||||||
asynchat,**3.6**,3.10,asyncio
|
asynchat,**3.6**,3.10,**yes**,asyncio
|
||||||
asyncore,**3.6**,3.10,asyncio
|
asyncore,**3.6**,3.10,**yes**,asyncio
|
||||||
audioop,3.8,3.10,\-
|
audioop,3.8,3.10,**yes**,\-
|
||||||
binhex,3.8,3.10,\-
|
binhex,3.8,3.10,no,\-
|
||||||
cgi,3.8,3.10,\-
|
cgi,3.8,3.10,no,\-
|
||||||
cgitb,3.8,3.10,\-
|
cgitb,3.8,3.10,no,\-
|
||||||
chunk,3.8,3.10,\-
|
chunk,3.8,3.10,no,\-
|
||||||
crypt,3.8,3.10,"bcrypt, argon2cffi, hashlib, passlib"
|
crypt,3.8,3.10,**yes (inactive)**,"bcrypt, argon2cffi, hashlib, passlib"
|
||||||
formatter,3.4,3.10,\-
|
formatter,3.4,3.10,no,\-
|
||||||
fpectl,**3.7**,**3.7**,\-
|
fpectl,**3.7**,**3.7**,n/a,\-
|
||||||
imghdr,3.8,3.10,"filetype, puremagic, python-magic"
|
imghdr,3.8,3.10,no,"filetype, puremagic, python-magic"
|
||||||
imp,**3.4**,3.10,importlib
|
imp,**3.4**,3.10,**yes**,importlib
|
||||||
macpath,**3.7**,**3.8**,\-
|
macpath,**3.7**,**3.8**,n/a,\-
|
||||||
msilib,3.8,3.10,\-
|
msilib,3.8,3.10,no,\-
|
||||||
nntplib,3.8,3.10,\-
|
nntplib,3.8,3.10,no,\-
|
||||||
nis,3.8,3.10,\-
|
nis,3.8,3.10,no,\-
|
||||||
ossaudiodev,3.8,3.10,\-
|
ossaudiodev,3.8,3.10,no,\-
|
||||||
parser,**2.5**,**3.9**,"ast, lib2to3.pgen2"
|
parser,**2.5**,**3.9**,**yes**,"ast, lib2to3.pgen2"
|
||||||
pipes,3.8,3.10,subprocess
|
pipes,3.8,3.10,no,subprocess
|
||||||
smtpd,"**3.4.7**, **3.5.4**",3.10,aiosmtpd
|
smtpd,"**3.4.7**, **3.5.4**",3.10,**yes**,aiosmtpd
|
||||||
sndhdr,3.8,3.10,"filetype, puremagic, python-magic"
|
sndhdr,3.8,3.10,no,"filetype, puremagic, python-magic"
|
||||||
spwd,3.8,3.10,"python-pam, simplepam"
|
spwd,3.8,3.10,no,"python-pam, simplepam"
|
||||||
sunau,3.8,3.10,\-
|
sunau,3.8,3.10,no,\-
|
||||||
uu,3.8,3.10,\-
|
uu,3.8,3.10,no,\-
|
||||||
xdrlib,3.8,3.10,\-
|
xdrlib,3.8,3.10,no,\-
|
||||||
|
|
||||||
|
|
||||||
Data encoding modules
|
Data encoding modules
|
||||||
|
@ -188,6 +188,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
**none**
|
**none**
|
||||||
|
|
||||||
|
@ -205,6 +207,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
**none**
|
**none**
|
||||||
|
|
||||||
|
@ -222,6 +226,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
**none**
|
**none**
|
||||||
|
|
||||||
|
@ -244,6 +250,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
yes, but expert is currently inactive.
|
||||||
Substitute
|
Substitute
|
||||||
**none**
|
**none**
|
||||||
|
|
||||||
|
@ -263,6 +271,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
yes
|
||||||
Substitute
|
Substitute
|
||||||
**none**
|
**none**
|
||||||
|
|
||||||
|
@ -280,6 +290,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
**none**
|
**none**
|
||||||
|
|
||||||
|
@ -297,6 +309,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
`puremagic <https://pypi.org/project/puremagic/>`_,
|
`puremagic <https://pypi.org/project/puremagic/>`_,
|
||||||
`filetype <https://pypi.org/project/filetype/>`_,
|
`filetype <https://pypi.org/project/filetype/>`_,
|
||||||
|
@ -318,6 +332,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
**none**
|
**none**
|
||||||
|
|
||||||
|
@ -336,6 +352,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
`puremagic <https://pypi.org/project/puremagic/>`_,
|
`puremagic <https://pypi.org/project/puremagic/>`_,
|
||||||
`filetype <https://pypi.org/project/filetype/>`_,
|
`filetype <https://pypi.org/project/filetype/>`_,
|
||||||
|
@ -353,6 +371,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
**none**
|
**none**
|
||||||
|
|
||||||
|
@ -372,6 +392,8 @@ Deprecated in
|
||||||
3.6
|
3.6
|
||||||
Removed in
|
Removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
yes
|
||||||
Substitute
|
Substitute
|
||||||
asyncio
|
asyncio
|
||||||
|
|
||||||
|
@ -393,6 +415,8 @@ Deprecated in
|
||||||
3.6
|
3.6
|
||||||
Removed in
|
Removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
yes
|
||||||
Substitute
|
Substitute
|
||||||
asyncio
|
asyncio
|
||||||
|
|
||||||
|
@ -420,6 +444,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
**none**
|
**none**
|
||||||
|
|
||||||
|
@ -440,6 +466,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
**none**
|
**none**
|
||||||
|
|
||||||
|
@ -454,9 +482,11 @@ deprecation message was added in releases 3.4.7, 3.5.4, and 3.6.1.
|
||||||
Module type
|
Module type
|
||||||
pure Python
|
pure Python
|
||||||
Deprecated in
|
Deprecated in
|
||||||
**3.7**
|
**3.4.7**, **3.5.4**, **3.6.1**
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
yes
|
||||||
Substitute
|
Substitute
|
||||||
aiosmtpd
|
aiosmtpd
|
||||||
|
|
||||||
|
@ -485,6 +515,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
**none**
|
**none**
|
||||||
|
|
||||||
|
@ -521,6 +553,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
yes, but expert is currently inactive.
|
||||||
Substitute
|
Substitute
|
||||||
`bcrypt <https://pypi.org/project/bcrypt/>`_,
|
`bcrypt <https://pypi.org/project/bcrypt/>`_,
|
||||||
`passlib <https://pypi.org/project/passlib/>`_,
|
`passlib <https://pypi.org/project/passlib/>`_,
|
||||||
|
@ -540,6 +574,8 @@ Deprecated in
|
||||||
3.7
|
3.7
|
||||||
Removed in
|
Removed in
|
||||||
3.8
|
3.8
|
||||||
|
Has a designated expert
|
||||||
|
n/a
|
||||||
Substitute
|
Substitute
|
||||||
**none**
|
**none**
|
||||||
|
|
||||||
|
@ -559,6 +595,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
**none**
|
**none**
|
||||||
|
|
||||||
|
@ -586,6 +624,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
`python-pam <https://pypi.org/project/python-pam/>`_,
|
`python-pam <https://pypi.org/project/python-pam/>`_,
|
||||||
`simpleplam <https://pypi.org/project/simplepam/>`_
|
`simpleplam <https://pypi.org/project/simplepam/>`_
|
||||||
|
@ -605,6 +645,8 @@ Deprecated in
|
||||||
3.4
|
3.4
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
*n/a*
|
*n/a*
|
||||||
|
|
||||||
|
@ -623,6 +665,8 @@ Deprecated in
|
||||||
3.4
|
3.4
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
yes, experts have deprecated the module
|
||||||
Substitute
|
Substitute
|
||||||
importlib
|
importlib
|
||||||
|
|
||||||
|
@ -645,6 +689,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
**none**
|
**none**
|
||||||
|
|
||||||
|
@ -674,6 +720,8 @@ Deprecated in
|
||||||
3.8, documented as deprecated since **2.5**
|
3.8, documented as deprecated since **2.5**
|
||||||
To be removed in
|
To be removed in
|
||||||
**3.9**
|
**3.9**
|
||||||
|
Has a designated expert
|
||||||
|
yes, experts have deprecated the module.
|
||||||
Substitute
|
Substitute
|
||||||
ast, lib2to3.pgen2
|
ast, lib2to3.pgen2
|
||||||
|
|
||||||
|
@ -691,6 +739,8 @@ Deprecated in
|
||||||
3.8
|
3.8
|
||||||
To be removed in
|
To be removed in
|
||||||
3.10
|
3.10
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
subprocess module
|
subprocess module
|
||||||
|
|
||||||
|
@ -712,6 +762,8 @@ Deprecated in
|
||||||
3.7
|
3.7
|
||||||
Removed in
|
Removed in
|
||||||
3.7
|
3.7
|
||||||
|
Has a designated expert
|
||||||
|
n/a
|
||||||
Substitute
|
Substitute
|
||||||
**none**
|
**none**
|
||||||
|
|
||||||
|
@ -750,6 +802,8 @@ between color systems.
|
||||||
|
|
||||||
Module type
|
Module type
|
||||||
pure Python
|
pure Python
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
`colormath <https://pypi.org/project/colormath/>`_,
|
`colormath <https://pypi.org/project/colormath/>`_,
|
||||||
`colour <https://pypi.org/project/colour/>`_
|
`colour <https://pypi.org/project/colour/>`_
|
||||||
|
@ -769,6 +823,8 @@ standard library, as it is handy for quick scripts.
|
||||||
|
|
||||||
Module type
|
Module type
|
||||||
pure Python
|
pure Python
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
|
|
||||||
lib2to3
|
lib2to3
|
||||||
-------
|
-------
|
||||||
|
@ -781,6 +837,8 @@ The package is useful for other tasks besides porting code from Python 2 to
|
||||||
|
|
||||||
Module type
|
Module type
|
||||||
pure Python
|
pure Python
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
|
|
||||||
getopt
|
getopt
|
||||||
------
|
------
|
||||||
|
@ -794,6 +852,8 @@ to write simple Python scripts.
|
||||||
|
|
||||||
Module type
|
Module type
|
||||||
pure Python
|
pure Python
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
Substitute
|
Substitute
|
||||||
argparse
|
argparse
|
||||||
|
|
||||||
|
@ -810,6 +870,8 @@ Module type
|
||||||
pure Python
|
pure Python
|
||||||
Deprecated in
|
Deprecated in
|
||||||
3.2
|
3.2
|
||||||
|
Has a designated expert
|
||||||
|
yes
|
||||||
Substitute
|
Substitute
|
||||||
argparse
|
argparse
|
||||||
|
|
||||||
|
@ -832,6 +894,8 @@ the ``array`` module could gain support for 24 bit (3 byte) arrays.
|
||||||
|
|
||||||
Module type
|
Module type
|
||||||
pure Python (depends on *byteswap* from `audioop`_ C extension)
|
pure Python (depends on *byteswap* from `audioop`_ C extension)
|
||||||
|
Has a designated expert
|
||||||
|
no
|
||||||
|
|
||||||
|
|
||||||
Future maintenance of removed modules
|
Future maintenance of removed modules
|
||||||
|
@ -908,6 +972,7 @@ Update 2
|
||||||
--------
|
--------
|
||||||
|
|
||||||
* Keep ``colorsys`` module
|
* Keep ``colorsys`` module
|
||||||
|
* Add experts
|
||||||
|
|
||||||
|
|
||||||
References
|
References
|
||||||
|
|
Loading…
Reference in New Issue