]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39999: Improve compatibility of the ast module. (GH-19056)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 22 Mar 2020 18:33:34 +0000 (20:33 +0200)
committerGitHub <noreply@github.com>
Sun, 22 Mar 2020 18:33:34 +0000 (20:33 +0200)
commitbace59d8b8e38f5c779ff6296ebdc0527f6db14a
tree81aa39edc1e15004da1d54507484609ab0745e22
parent044cf94f610e831464a69a8e713dad89878824ce
bpo-39999: Improve compatibility of the ast module. (GH-19056)

* Re-add removed classes Suite, slice, Param, AugLoad and AugStore.
* Add docstrings for dummy classes.
* Add docstrings for attribute aliases.
* Set __module__ to "ast" instead of "_ast".
Doc/whatsnew/3.9.rst
Lib/ast.py
Lib/test/test_ast.py
Misc/NEWS.d/next/Core and Builtins/2020-02-15-15-29-34.bpo-39639.3mqJjm.rst [deleted file]
Misc/NEWS.d/next/Library/2020-02-15-15-29-34.bpo-39639.3mqJjm.rst [new file with mode: 0644]
Misc/NEWS.d/next/Library/2020-03-15-17-56-48.bpo-39969.6snm0c.rst
Misc/NEWS.d/next/Library/2020-03-17-09-35-00.bpo-39988.kXGl35.rst
Misc/NEWS.d/next/Library/2020-03-18-11-50-25.bpo-39999.8aOXDT.rst [new file with mode: 0644]
Parser/asdl_c.py
Python/Python-ast.c