Message137854
| 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:35 | benjamin.peterson | set | recipients:
+ benjamin.peterson, loewis, brett.cannon, ncoghlan, eric.araujo |
| 2011年06月07日 17:00:35 | benjamin.peterson | set | messageid: <1307466035.71.0.777479555541.issue12273@psf.upfronthosting.co.za> |
| 2011年06月07日 17:00:35 | benjamin.peterson | link | issue12273 messages |
| 2011年06月07日 17:00:35 | benjamin.peterson | create |
|