Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(24)

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

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 6 months ago by thomas
Modified:
4 years ago
Reviewers:
ghost.adh
CC:
Georg, haypo, Benjamin Peterson, ned.deily, Thomas Kluyver, Martin Panter, storchaka, lys.nikolaou
Visibility:
Public.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
Lib/sysconfig.py View 2 chunks +8 lines, -6 lines 1 comment Download

Messages

Total messages: 1
ghost.adh_gmail.com
4 years ago #1
https://bugs.python.org/review/24916/diff/15393/Lib/sysconfig.py
File Lib/sysconfig.py (right):

https://bugs.python.org/review/24916/diff/15393/Lib/sysconfig.py#newcode86
Lib/sysconfig.py:86: _PY_VERSION = '{}.{}.{}'.format(*sys.version_info[:3])
slicing is not necessary here, the same applies to lines 91-92
Sign in to reply to this message.

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+