Message342463
More fallout from the Constant change in https://bugs.python.org/issue32892
minimal reproduction:
import ast
class V(ast.NodeVisitor):
def visit_Str(self, node):
print(node.s)
def main():
V().visit(ast.parse('x = "hi"'))
if __name__ == '__main__':
exit(main())
$ python3.7 t.py
hi
$ python3.8 t.py
$ python3.8 --version --version
Python 3.8.0a4 (default, May 8 2019, 01:43:53)
[GCC 7.4.0] |
|
Date |
User |
Action |
Args |
2019-05-14 14:21:22 | Anthony Sottile | set | recipients:
+ Anthony Sottile, serhiy.storchaka |
2019-05-14 14:21:22 | Anthony Sottile | set | messageid: <1557843682.58.0.0807679622364.issue36917@roundup.psfhosted.org> |
2019-05-14 14:21:22 | Anthony Sottile | link | issue36917 messages |
2019-05-14 14:21:22 | Anthony Sottile | create | |
|