5 ms·
The unofficial python 2.8 is here: https://github.com/naftaliharris/tauthon https://github.com/naftaliharris/tauthon
by daveguy 10y ago
The unofficial python 2.8 is here:
https://github.com/naftaliharris/tauthon https://github.com/naftaliharris/tauthon
- greyman 10y agoBut didn't Guido say that everything what could be backported was already backported? > There are a small handful of backwards incompatibilities introduced by Tauthon. How to understand this? Anyway, something like this was expected to happen. I wonder if it wouldn't be better if Guido would not halt python 2 development and just let it evolve.
- dorkygator 10y agoHe left the door open for the community to continue work on Python 2. It looks like somebody took up that offer.
- greyman 10y agoYes and no. Community can continue, but only under different name. So only fork is allowed.
- deleted 10y ago[deleted]
- deleted 10y ago[deleted]
- mkesper 10y agoThis discussion goes now on since Python 3 was released. Python 2 will not be supported or developed after 2020.
- greyman 10y agoYes, I know. The question is if this decision is correct, given that apparently a lot of people and companies just doesn't plan to switch no matter what.
- StavrosK 10y agoWell, if you want people to switch to 3, you do need to apply some pressure by end-of-lifing 2.
- dagw 10y agoOr you could offer something in 3 which will make switching enticing enough for people to do so of their own free will.
- shakna 10y agoProper unicode handling, list comprehensions, generators, await & async, TSL 1.1 & 1.2 support, better namespace handling, better string interpolation, and better argument parsing are just a few of the things that you get. Is there a feature that could entice these people? Or have they made up their minds?
- dagw 10y agoList (and set,dict and generator) comprehensions and generators are available in python2. Await & async and unicode handling are nice improvements, but you could do both in python2 well enough if it was important to you. TSL support I don't use in python so I cannot comment on it. And I've honestly never found namespace handling or string interpolation a problem. Is there a feature that could entice these people? Or have they made up their minds? A working, stable, version of http://pyparallel.org/ http://pyparallel.org/ would entice the hell out of me.
- lmm 10y agoIt's not practical to safely work with non-ASCII strings in Python 2. There are too many "arbitrarily mangle my string" functions available (both in the language proper and in libraries), and the only way to avoid them is constant vigilance, which doesn't scale.
- StreakyCobra 10y agoSerious question: What are the reasons people are still preferring Python2 over Python3? (No troll intended)
- dagw 10y agoNo reason per se. Just that lots of people have lots of Python2 code and feel that Python3 doesn't offer anything interesting enough to make it worthwhile to go through the effort of porting their code.
- StavrosK 10y agoProbably momentum? The only reason is if they are supporting an app that they don't want to move to 3. As a professional Python dev, I can see no other reason. All my new projects are in 3, and as far as I'm concerned, the debate was settled years ago (and there wasn't much of a debate anyway.
- deckiedan 10y agoOn most OSes, open a terminal and type 'python', and you get a python2 REPL. That's reason enough to write a lot of scripty admin / automation stuff in python2. And then if you need to extend that, it's easy to just continue on in python2. It's there, it works, it's stable, you don't have to maintain versions in case of security issues, the OS package does it for you.
- mkesper 10y agoIt's high time to change that default. I'm glad django will not support Python2 after 2020, making clear it's legacy.
- deckiedan 10y agoOh absolutely. There's a few linux distros starting to ship python3 by default, which is great. It's happening far too slowly. Speaking of speed, I hear 3.7 should finally be able to beat 2.7 for most benchmarks, which is pretty sweet.
- 10y ago