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 benjamin.peterson
Recipients benjamin.peterson, brett.cannon, eric.araujo, loewis, ncoghlan
Date 2011-06-07.17:00:35
SpamBayes Score 0.00013905158
Marked as misclassified No
Message-id <1307466035.71.0.777479555541.issue12273@psf.upfronthosting.co.za>
In-reply-to
Content
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__)
History
Date User Action Args
2011-06-07 17:00:35benjamin.petersonsetrecipients: + benjamin.peterson, loewis, brett.cannon, ncoghlan, eric.araujo
2011-06-07 17:00:35benjamin.petersonsetmessageid: <1307466035.71.0.777479555541.issue12273@psf.upfronthosting.co.za>
2011-06-07 17:00:35benjamin.petersonlinkissue12273 messages
2011-06-07 17:00:35benjamin.petersoncreate