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 vstinner
Recipients benjamin.peterson, brett.cannon, larry, matrixise, ned.deily, steve.dower, vstinner
Date 2017-04-27.16:19:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493309978.38.0.419358154317.issue27593@psf.upfronthosting.co.za>
In-reply-to
Content
Ned Deily: "I'll be doing backports to 2.7 for this and some other things shortly."

It seems like Ned was busy or forgot 2.7, so I wrote a change: https://github.com/python/cpython/pull/1327

My change doesn't touch platform.py. platform._sys_version() uses sys.subversion but not sys._hg. If someone wants to enhance the platform module of Python 2.7, I suggest to open a new issue. There is a non-zero risk of breaking the backward compatibility, so I skipped my turn for that one :-)
History
Date User Action Args
2017-04-27 16:19:38vstinnersetrecipients: + vstinner, brett.cannon, larry, benjamin.peterson, ned.deily, steve.dower, matrixise
2017-04-27 16:19:38vstinnersetmessageid: <1493309978.38.0.419358154317.issue27593@psf.upfronthosting.co.za>
2017-04-27 16:19:38vstinnerlinkissue27593 messages
2017-04-27 16:19:38vstinnercreate