Been porting a fair amount of code from #python2 to #python3 at @logilab recently. Here's a thread about how I usually proceed and what I learnt. (1/7)
Once confident everything works fine with #python3 (tests suite is green, resolved all runtime errors spotted by, e.g., #sentry): drop #python2 support.(7/7)
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!