Live data from Hacker News

Code that will break in Python 4

astrofrog.github.io

1–10 of 237 posts

Re: Code that will break in Python 4

#6
post #4

Has there actually been a statement that python 4 will be backwards compatible to python 3?

Formally, no, but Guido expressed regret that Python 3 broke backwards compatibility, and made intentions of trying to minimize backwards incompatibility for Python 4.

Re: Code that will break in Python 4

#8
post #4

Has there actually been a statement that python 4 will be backwards compatible to python 3?

I don't have any links but I know there have been statements by core devs that, when/if there is another major version of python being developed, there will be an upgrade path to make the 3->4 transition much better than the 2->3 transition.

Re: Code that will break in Python 4

#9
post #4

Has there actually been a statement that python 4 will be backwards compatible to python 3?

I believe they said they were going to try very hard to not do major backwards compatible breaking changes again.

> My current expectation is that Python 4.0 will merely be "the release that comes after Python 3.9". That's it. No profound changes to the language, no major backwards compatibility breaks - going from Python 3.9 to 4.0 should be as uneventful as going from Python 3.3 to 3.4 (or from 2.6 to 2.7). I even expect the stable Application Binary Interface (as first defined in PEP 384) to be preserved across the boundary.

http://www.curiousefficiency.org/posts/2014/08/python-4000.h... (which was linked by Guido from his Twitter).

Re: Code that will break in Python 4

#10
post #4

Has there actually been a statement that python 4 will be backwards compatible to python 3?

From Guido: he expects "Python 4.0 will merely be "the release that comes after Python 3.9". That's it. No profound changes to the language, no major backwards compatibility breaks"

http://www.curiousefficiency.org/posts/2014/08/python-4000.h...

Would be nice if it was simply 3.10 not 4.0, as there's much discussion on that too.

Post reply on HN