]> granicus.if.org Git - python/commit
bpo-36917: Add default implementation of ast.NodeVisitor.visit_Constant(). (GH-15490)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 26 Aug 2019 07:13:19 +0000 (10:13 +0300)
committerGitHub <noreply@github.com>
Mon, 26 Aug 2019 07:13:19 +0000 (10:13 +0300)
commitc3ea41e9bf100a5396b851488c3efe208e5e2179
tree5e30febe4e132ed33968e96ca81aeb043e33387a
parent44cd86bbdddb1f7b05deba2c1986a1e98f992429
bpo-36917: Add default implementation of ast.NodeVisitor.visit_Constant(). (GH-15490)

It emits a deprecation warning and calls corresponding method
visit_Num(), visit_Str(), etc.
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]