New submission from Ma Lin <[email protected]>:
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()
----------
messages: 334026
nosy: Ma Lin
priority: normal
severity: normal
status: open
title: Print friendly version message in REPL
type: enhancement
versions: Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35779>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com