classification
Title: Replace sys.version to sys.version_info in sysconfig.py
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: In sysconfig, don't rely on sys.version format
View: 24916
Assigned To: Nosy List: corona10, serhiy.storchaka
Priority: normal Keywords:

Created on 2017-04-18 07:01 by corona10, last changed 2017-04-18 07:22 by serhiy.storchaka. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 1165 closed corona10, 2017-04-18 07:03
Messages (2)
msg291824 - (view) Author: Dong-hee Na (corona10) * (Python committer) Date: 2017-04-18 07:01
Not to rely on sys.version here, its format is an implementation detail
of CPython, use sys.version_info or sys.hexversion
msg291827 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-04-18 07:22
The patch contains too much unrelated changes.

As for changing the definition of sysconfig.get_config_vars('py_version') I'm not sure it is worth to do bacause this loss an information. This is a duplicate issue24916.
History
Date User Action Args
2017-04-18 07:22:14serhiy.storchakasetstatus: open -> closed

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

nosy: + serhiy.storchaka
messages: + msg291827
resolution: duplicate
stage: resolved
2017-04-18 07:03:14corona10setpull_requests: + pull_request1295
2017-04-18 07:01:18corona10create