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.

classification
Title: Change _PY_VERSION to derive from sys.version_info in sysconfig
Type: Stage: resolved
Components: Versions: Python 3.8
process
Status: closed Resolution: duplicate
Dependencies: Superseder: In sysconfig, don't rely on sys.version format
View: 24916
Assigned To: Nosy List: lys.nikolaou, ned.deily, tarek
Priority: normal Keywords:

Created on 2018-10-28 23:49 by lys.nikolaou, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg328769 - (view) Author: Lysandros Nikolaou (lys.nikolaou) * (Python committer) Date: 2018-10-28 23:49
In sysconfig.py there is a comment starting with FIXME that states that _PY_VERSION should get its value from sys.version_info instead of sys.version, because it is an implementation detail.

Should this be changed? If so, I would like to create a PR.
msg328778 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2018-10-29 00:42
This has come up before, see Issue25985 and Issue24916 (still open).  Let's call this a duplicate of the latter and continue any discussion there.
History
Date User Action Args
2022-04-11 14:59:07adminsetgithub: 79277
2018-10-29 00:42:50ned.deilysetstatus: open -> closed

superseder: In sysconfig, don't rely on sys.version format

nosy: + ned.deily
messages: + msg328778
resolution: duplicate
stage: resolved
2018-10-28 23:59:40pablogsalsetnosy: + tarek
2018-10-28 23:49:09lys.nikolaoucreate