[issue12794] platform: add a major function to get the system major version

STINNER Victor report at bugs.python.org
Sat Aug 20 23:02:37 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> Can you please elaborate why we need it?

platform.major() will be needed if we remove the major version for all platforms from sys.platform (issue #12795). See sys_platform_without_major.patch attached to issue #12795 see how it is used.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12794>
_______________________________________


More information about the Python-bugs-list mailing list