Author Anthony Sottile
Recipients Anthony Sottile, serhiy.storchaka
Date 2019-05-14.14:21:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557843682.58.0.0807679622364.issue36917@roundup.psfhosted.org>
In-reply-to
Content
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]
History
Date User Action Args
2019-05-14 14:21:22Anthony Sottilesetrecipients: + Anthony Sottile, serhiy.storchaka
2019-05-14 14:21:22Anthony Sottilesetmessageid: <1557843682.58.0.0807679622364.issue36917@roundup.psfhosted.org>
2019-05-14 14:21:22Anthony Sottilelinkissue36917 messages
2019-05-14 14:21:22Anthony Sottilecreate