Benjamin Peterson <benja...@python.org> added the comment:

I propose we leave ast.__version__ alone. Using ast.__version__ at all should 
be a very advanced usecase. Generally, you should just be able to look at 
sys.version_info. We could document this rather than duplicating 
sys.version_info in ast.__version__. I think ast.__version__ is mostly useful 
for things like:

print("Running with Python {} and AST {}".format(sys.mercurial[2], 
ast.__version__)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12273>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to