|
|
Subscribe / Log in / New account

What's coming in Python 3.8

What's coming in Python 3.8

Posted Jul 18, 2019 15:59 UTC (Thu) by smurf (subscriber, #17840)
In reply to: What's coming in Python 3.8 by Kamilion
Parent article: What's coming in Python 3.8

What's the problem with comparing sys.version_info >= (3,10) instead of (4,0)?

Contrast with the heap of code that mistakenly checks the major version against ==3 instead of >=3 …


to post comments

What's coming in Python 3.8

Posted Jul 18, 2019 17:23 UTC (Thu) by karkhaz (subscriber, #99844) [Link] (1 responses)

This probably isn't a mistake. It seems defensive and entirely sensible, given the magnitude of breaking changes that the last major version bump introduced. Similar to licensing your software as GPL 2 rather than GPL 2+ if you don't trust that the FSF won't introduce clauses that you won't like in GPL 3.

What's coming in Python 3.8

Posted Jul 19, 2019 7:38 UTC (Fri) by rschroev (subscriber, #4164) [Link]

> It seems defensive and entirely sensible, given the magnitude of breaking changes that the last major version bump introduced.

Python doesn't introduces large changes willy-nilly, neither are new major version going to break things like Python 3 did. The changes in Python 3 were a one-time event and were announced a long time in advance. That's not going to happen again anytime soon (probably never).


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds