ScryEngineering / scrygroup.com

The Scry Engineering website
https://www.scrygroup.com
0 stars 0 forks source link

Python 2's forgotten annoyances #103

Open shuttle1987 opened 5 years ago

shuttle1987 commented 5 years ago

Recently I've been updating some software that was powering a static site generator. All this was in Python 2. Over the years I've also run into people somewhat skeptical of the benefits of moving to Python 3, even as late as 2016 I was working somewhere that was making new greenfield projects in Python 2!

So there's the major things that Python 3 solves, one of the largest wins in the unicode support. However there's a lot more to it than that.

Here's some annoyances that have been mostly forgotten:

There's probably more too, but there's some good examples of little annoyances that have mostly been resolved. The standard library has a whole bunch more of these no doubt.

shuttle1987 commented 4 years ago

@aapeliv Should I just crank the handle and make this post before the end of the year?

A starting line might be something like: "A very obvious annoyance with Python 2 code bases is that official support is just about to end, but what about all the other smaller forgotten annoyances that existed in previous versions?"

shuttle1987 commented 4 years ago

More annoyances included: