[issue24916] In sysconfig, don't rely on sys.version format

Lysandros Nikolaou report at bugs.python.org
Sun Nov 4 16:48:42 EST 2018


Lysandros Nikolaou <lisandrosnik at gmail.com> added the comment:

Following up on https://github.com/python/cpython/pull/10321#discussion_r230604393 I would like to summarise here what's been going on, in order to move the discussion here forward. I've tried to make a PR for this issue, in which _PY_VERSION in Lib/sysconfig.py and py_version in Lib/distutils/command/install.py are updated to get their value from sys.version_info instead of sys.version. This PR removes the '+' from both so the issue remains, if we want to keep the '+' info or not.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24916>
_______________________________________


More information about the Python-bugs-list mailing list