This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Anthony Sottile, mbussonn, serhiy.storchaka
Date 2019-05-15.16:05:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This is not a new case. This is exactly the same problem which has already been fixed in multiple other projects.

Could you show your real code Anthony? In all known opensource examples (astroid, pyflakes, genshi, chameleon, mako) the compatibility fix is as simple as

    def visit_Constant(self, node):
        if node.value is Ellipsis:

In return, you can remove several methods, such as visit_Str, visit_Num, etc, once you drop the support of Python versions <3.8.

AST is not stable. Virtually in every version the new nodes are added: for asynchronous constructions, for f-strings, etc, and the structure and meaning of existing nodes can be changed.
Date User Action Args
2019-05-15 16:05:28serhiy.storchakasetrecipients: + serhiy.storchaka, mbussonn, Anthony Sottile
2019-05-15 16:05:28serhiy.storchakasetmessageid: <>
2019-05-15 16:05:28serhiy.storchakalinkissue36917 messages
2019-05-15 16:05:28serhiy.storchakacreate