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)
First run flake8 with python3 and fix all spotted errors (e.g. "except ValueError, exc:"). Easy.(2/7)
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!