[issue35779] Print friendly version message in REPL

Ma Lin report at bugs.python.org
Tue Jan 22 22:02:48 EST 2019


Ma Lin <malincns at 163.com> added the comment:

Hi, thanks for your replies.

To be honest, the reason is I fell it's a bit ugly, this line is very long at REPL startup. And the information is not very clear [1].

I'm not strongly pushing this idea, just raise my feeling, keep it easy. :)

Yes, after this discussion, I suppose simplified message only printed in Windows/Mac official binary releases. Just print at REPL startup, don't change sys.version.

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


[1] How do I determine if my python shell is executing in 32bit or 64bit mode on OS X?
[1] https://stackoverflow.com/questions/1405913/how-do-i-determine-if-my-python-shell-is-executing-in-32bit-or-64bit-mode-on-os

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35779>
_______________________________________


More information about the Python-bugs-list mailing list