[python-committers] Python 4.0 or Python 3.10?

Mark Shannon mark at hotpy.org
Wed Sep 26 05:52:20 EDT 2018


Hi,

On 25/09/18 20:30, Yury Selivanov wrote:
> What's the current plan for what version of Python we release after 3.9?

[snip]

For the record, we account for the following version tests when 
analysing code (on lgtm.com):

sys.version == "3"
sys.version_info > (3,)
sys.version_info[0] == 3
sys.version_info[:2] >= (3,0)
sys.hexversion > 0x03000000

Of these forms, `sys.version[0] == "3"` and `sys.version_info[0] == 3` 
will be broken by changing the major version to 4.

Personally, I prefer 3.10 to 4.0 unless there is a significant language 
change involved.

Cheers,
Mark.


More information about the python-committers mailing list