]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] bpo-36917: Add default implementation of ast.NodeVisitor.visit_Constant()....
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 26 Aug 2019 07:43:33 +0000 (00:43 -0700)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 26 Aug 2019 07:43:33 +0000 (10:43 +0300)
commit522a394a72f107ca55701371529b5e4ed20c9fff
treeda3e1775ecf47af29a6b4ad33776d8790c491bb8
parenta3875171d746f90f49adfcaa015525b20a3874d3
[3.8] bpo-36917: Add default implementation of ast.NodeVisitor.visit_Constant(). (GH-15490) (GH-15509)

It emits a deprecation warning and calls corresponding method
visit_Num(), visit_Str(), etc.
(cherry picked from commit c3ea41e9bf100a5396b851488c3efe208e5e2179)
Doc/library/ast.rst
Doc/whatsnew/3.8.rst
Lib/ast.py
Lib/test/test_ast.py
Misc/NEWS.d/next/Library/2019-08-25-14-56-42.bpo-36917.GBxdw2.rst [new file with mode: 0644]