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: platform module's version number doesn't match its docstring
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.7, Python 3.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: lemburg Nosy List: berker.peksag, brett.cannon, lemburg
Priority: normal Keywords:

Created on 2016-08-17 16:10 by brett.cannon, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 246 merged mbussonn, 2017-02-23 06:32
PR 341 merged berker.peksag, 2017-02-27 14:27
Messages (7)
msg272964 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2016-08-17 16:10
Not sure if it's worth keeping the version number around, but ATM the module has __version__ set to 1.0.7 while the docstring mentions a 1.0.8.
msg272984 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2016-08-17 20:56
That must have been an oversight. __version__ should read '0.8.0'.
msg288503 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2017-02-24 04:50
Perhaps it's now time to drop that __version__ attribute in 3.7? We've removed the __version__ attribute from the email module in issue 22508.
msg288516 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2017-02-24 10:45
The purpose of __version__ in the platform module is to be able to use it with other Python as well (and then detect which version is available in applications).

So I think it's good to keep it around.
msg288518 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2017-02-24 10:49
Hmm, not sure why the merge is not showing up on the ticket.

Here's the link: https://github.com/python/cpython/commit/6059ce45aa96f52fa0150e68ea655fbfdc25609a
msg290367 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2017-03-24 23:37
New changeset bb59d89ceeb1abfb4d73c7fc60b534e4464adf35 by Berker Peksag in branch '3.6':
bpo-27788 : synchronise platform.py version number (#246) (#341)
https://github.com/python/cpython/commit/bb59d89ceeb1abfb4d73c7fc60b534e4464adf35
msg290413 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2017-03-24 23:48
New changeset 6059ce45aa96f52fa0150e68ea655fbfdc25609a by Marc-Andre Lemburg (Matthias Bussonnier) in branch 'master':
bpo-27788 : synchronise platform.py version number (#246)
https://github.com/python/cpython/commit/6059ce45aa96f52fa0150e68ea655fbfdc25609a
History
Date User Action Args
2022-04-11 14:58:34adminsetgithub: 71975
2017-03-24 23:48:44lemburgsetmessages: + msg290413
2017-03-24 23:37:08berker.peksagsetmessages: + msg290367
2017-02-27 14:27:30berker.peksagsetpull_requests: + pull_request295
2017-02-24 10:49:26lemburgsetmessages: + msg288518
2017-02-24 10:48:27lemburgsetstatus: open -> closed
assignee: lemburg
resolution: fixed
stage: patch review -> resolved
2017-02-24 10:45:52lemburgsetmessages: + msg288516
2017-02-24 04:50:20berker.peksagsetnosy: + berker.peksag

messages: + msg288503
stage: patch review
2017-02-23 07:48:25Mariattasetversions: + Python 3.7
2017-02-23 06:32:21mbussonnsetpull_requests: + pull_request211
2016-08-17 20:56:48lemburgsetmessages: + msg272984
2016-08-17 16:10:58brett.cannoncreate