summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-07-30 11:04:01 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-07-30 11:04:01 (GMT)
commit9211e2fd81fe1db6f73ded70752b144cc9691ab6 (patch)
tree7be7a7109e9e2ca793f8b0a26a7b7c2c350b9479 /Doc/whatsnew
parentf35c51d2eadd297bcf06d4f7c536bd1d8682b724 (diff)
downloadcpython-9211e2fd81fe1db6f73ded70752b144cc9691ab6.zip
cpython-9211e2fd81fe1db6f73ded70752b144cc9691ab6.tar.gz
cpython-9211e2fd81fe1db6f73ded70752b144cc9691ab6.tar.bz2
bpo-37268: Add deprecation notice and a DeprecationWarning for the parser module (GH-15017)
Deprecate the parser module and add a deprecation warning triggered on import and a warning block in the documentation. https://bugs.python.org/issue37268 Automerge-Triggered-By: @pablogsal
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.9.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 85e254f..273fd2b 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -142,6 +142,10 @@ Deprecated
Python versions it will raise a :exc:`TypeError` for all floats.
(Contributed by Serhiy Storchaka in :issue:`37315`.)
+* The :mod:`parser` module is deprecated and will be removed in future versions
+ of Python. For the majority of use cases users can leverage the Abstract Syntax
+ Tree (AST) generation and compilation stage, using the :mod:`ast` module.
+
Removed
=======