r/Python • • May 30 '19

Dear python2 user

Post image
1.9k Upvotes

275 comments sorted by

View all comments

58

u/hopeinson May 30 '19

Now that you have heard of Python 3, now get ready for Python 4! [/s]

But seriously, we need to start moving on from Py2. It's a dead horse meat now.

17

u/nooobmaster-69 May 30 '19

Python 4 is already mentioned in the timelines for many of the changes. But not to worry, it will be much less of an issue migrating from 3->4 than it was from 2->3.

24

u/Rodot github.com/tardis-sn May 30 '19

That's because Python 4 is just going to be Python 3.10, that's just how they are going to continue with versioning

16

u/flying-sheep May 30 '19

That’s what Guido said a while back, I hope the new guidance council doesn’t share this view and just release 3.10, 3.11, …

1

u/billsil May 31 '19

Guido is on the council and was the top vote getter by 30% or so. He was the only council member that got over 50% and cleared that easily. He's quite popular among the core devs.

6

u/flying-sheep May 31 '19

Yes, but I think this is a case he doesn’t feel strongly about but that he still considered his decision / matter of taste when he was BDFL. And such cases will now be voted on, and if the others say “not doing semver is confusing and people will be scared by upgrading to 4.0” there won’t be strong arguments against that.

1

u/billsil May 31 '19

“not doing semver is confusing and people will be scared by upgrading to 4.0”

Python does not follow semver. You don't need to vote to keep the status quo. You vote to change it. If you really want semver, propose a PEP, but don't be surprised when it gets shot down.

Python implements large breaking changes in major versions. It implements small breaking changes in minor versions.

1

u/flying-sheep May 31 '19

sure, that’s close enough. if you really do semver for a large project, you end up like react, with major versions every few weeks.

2

u/billsil May 31 '19

Or you store them up and break everybody's code in one fell swoop and have a Python 2->3 transition on your hands. I much prefer not following semver for that reason. I tried semver and it was a pain.

I much prefer a few minor changes preferably with deprecation warnings for a bit and then breaking things, similar to how numpy does it.

1

u/flying-sheep May 31 '19

Only possible for small changes though.

Huge ones like the string/byte thing would either take forever or be as disruptive as the whole 2>3 change

→ More replies (0)
→ More replies (2)

1

u/bageldevourer Jun 01 '19

This isn't necessarily true according to the latest episode of Talk Python.

7

u/tr14l May 30 '19

I have to assume that Py4 will be largely non-breaking. They have to have learned their lesson....right?

10

u/AusIV Django, gevent May 30 '19

If you're following Sem Ver (which I'm not sure if Python claims to do) then you wouldn't go to 4 unless you were breaking something. I'd hope that the version that comes after 3.9 will just be 3.10 if it's backwards compatible. If they go to 4, they will be introducing breaking changes for all the people who use python3 to run their code.

9

u/twelveshar May 30 '19

Python does not follow SemVer; it allows breaking changes in "minor" versions, like 3.7 -> 3.8. See the development cycle page: https://devguide.python.org/devcycle/

→ More replies (1)

6

u/cerin_2 May 30 '19

RIP in pieces those of us using jython which hasn't caught up to 3.

-6

u/[deleted] May 30 '19

[removed] — view removed comment

24

u/emuccino May 30 '19

"Catastrophe" is a bit dramatic

3

u/alcalde May 30 '19

You'd be surprised. OpenSUSE Linux had a discussion about version numbering a few years ago. They used to go X.0, X.1, X.2, X.3 and then increment by 1 and continue. There was no meaning to the numbers, but it seems casual users didn't know that. Apparently people assumed that a .0 release was a major release and decided to wait for a .1 release to "work out the bugs". Point zero releases were actually showing half the downloads compared to other releases! Not only that, tech sites seemed to think the same way, as reviews of non-point zero releases were lower compared to point zero releases.

They finally decided to drop point zero releases entirely. (They made a lot of other, dumber, numbering ideas later on, like going from 13.4 to 42 and then to 15, but that's another story).

2

u/cyanydeez May 30 '19

numbering in general is just a dumb human thing.

I think we should just give everything flavors and colors

1

u/dysonCode May 30 '19 edited May 30 '19

I'll take a blue cinnamon py

0

u/[deleted] May 30 '19

[removed] — view removed comment

3

u/zardeh May 30 '19

Yeah but they've had years. Python 3.5 has been out for 4 years. It'll EOL before Py4 comes out. That's enough time to upgrade, especially if the upgrade isn't back-breaking.

1

u/billsil May 31 '19

I’m still waiting for the python 2.8 fork....there are two versions of Perl 6.

1

u/Intrexa May 30 '19

I propose 3.91, 3.92