mirror of https://github.com/python/cpython
Issue #19165: The formatter module graduates to full deprecation.
This commit is contained in:
parent
9ab748013b
commit
a77d0c36e5
|
@ -165,7 +165,8 @@ Unsupported Operating Systems
|
||||||
Deprecated Python modules, functions and methods
|
Deprecated Python modules, functions and methods
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
|
|
||||||
* None yet.
|
* The :mod:`formatter` module has now graduated to full deprecation and is still
|
||||||
|
slated for removal in Python 3.6.
|
||||||
|
|
||||||
|
|
||||||
Deprecated functions and types of the C API
|
Deprecated functions and types of the C API
|
||||||
|
|
|
@ -21,7 +21,7 @@ manage and inserting data into the output.
|
||||||
import sys
|
import sys
|
||||||
import warnings
|
import warnings
|
||||||
warnings.warn('the formatter module is deprecated and will be removed in '
|
warnings.warn('the formatter module is deprecated and will be removed in '
|
||||||
'Python 3.6', PendingDeprecationWarning)
|
'Python 3.6', DeprecationWarning)
|
||||||
|
|
||||||
|
|
||||||
AS_IS = None
|
AS_IS = None
|
||||||
|
|
|
@ -23,6 +23,9 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #19165: The formatter module now raises DeprecationWarning instead of
|
||||||
|
PendingDeprecationWarning.
|
||||||
|
|
||||||
- Issue #13936: Remove the ability of datetime.time instances to be considered
|
- Issue #13936: Remove the ability of datetime.time instances to be considered
|
||||||
false in boolean contexts.
|
false in boolean contexts.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue