Re:Python 3 Is Winning Library Developer Support
by markbnj on Tuesday March 08, 2016 @10:18PM
(#11250656)
Small improvements. Don't get me wrong: the things you listed are all nice and useful (+1 for keeping more than one stack trace). But I don't think anyone's definitions of "innovation" includes fixing exception reporting and changing the semantics of object comparisons. No disrespect intended but your earlier statement was clearly meant to convey what a boatload of innovation there was in Python3, and your response to the request for an example just bolsters the counter claim, frankly.
Re:Python 3 Is Winning Library Developer Support
by Scarbutt on Wednesday March 09, 2016 @01:07AM
(#11251228)
and that couldn't be added to python 2?
Re:Python 3 Is Winning Library Developer Support
by dagw on Wednesday March 09, 2016 @05:37AM
(#11252110)
Not without breaking backwards compatibility. Although I guess they could have done a slower transition, with 2.8 giving depreciated warnings by default (with a flag to make them errors), 2.9 giving errors by default (with a flag to make them warnings) and 2.10 finally breaking backwards compatibility.
That said, it depends on what you mean by "innovation". To me the above is a worthwhile improvement, and more important than (say) asyncio. It's also a "nice to have", in the exact same sense that 2.7's features are a nice-to-have compared to what's in 2.5. At the end of the day, if you want to continue coding in 2.7, that's what you should do.