logoalt Hacker News

saghmyesterday at 7:22 AM2 repliesview on HN

I'm not sure "major versions" is the most correct term here, but I think your point is spot on


Replies

OJFordyesterday at 11:56 AM

They are de facto semantic major versions - think of recent-ish additions like f-strings and match-case (3.7 and 3.11, I think), you'd get a syntax error in an older parser. PyPy targeting 3.9 for example would would support f-strings but not match-case.

Or at runtime, you can import things from the standard library which require a minimum 3.x. - .x releases frequently if not always add things, or even change an existing API.

Hamukoyesterday at 7:37 AM

For Python, 0.1 increases are major versions and 1.0 increases are cataclysmic shifts.

show 1 reply