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.

Author malin
Recipients malin
Date 2019-01-19.02:43:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547865815.91.0.564607608514.issue35779@roundup.psfhosted.org>
In-reply-to
Content
The current version message in REPL is too complicate for official release.

Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> 

tags/v3.7.2   git tag is superfluous.
9a3ffc0492    git commit id may scare junior users.
23:09:28      quite meaningless.
win32         "I'm using a 64 bit Windows, why call it win32?"

IMO, we can simply print this message for official release:
Python 3.7.2 (64 bit, Dec 23 2018) on Windows

How about this logic?

if version in git_tag and "dirty" not in commit_id:
    print_simplified_message()
else:
    print_current_message()
History
Date User Action Args
2019-01-19 02:43:39malinsetrecipients: + malin
2019-01-19 02:43:35malinsetmessageid: <1547865815.91.0.564607608514.issue35779@roundup.psfhosted.org>
2019-01-19 02:43:35malinlinkissue35779 messages
2019-01-19 02:43:35malincreate