3 ms·
Yes, 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.
by greyman 10y ago
Yes, 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.