[issue37636] Deprecate slicing and ordering operations on sys.version

Serhiy Storchaka report at bugs.python.org
Sat Jul 20 17:08:26 EDT 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Changing the major version number itself is a breaking change. For example, there is a code that checks sys.version_info[0] == 3 or even sys.version[0] == "3".

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list