Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Jilano Python2 too 3 migration has to be the slowest trainwreck I have ever seen.
-
@k0pernikus I had some code I could not port of years due to libraries not being ported. Consequently I am porting that same code to C++ now. Not seeing python as good long term.
-
Iirc there are libraries that can convert python2 code into python3.
It's in the pip repo's -
Anakata17255yThe Haptik AI Team had posted an amazing blogpost on how they did it. You should check it out.
https://haptik.ai/tech/... -
@Jilano I started the process mid November last year.
The team followed the advice of a client. I did not question them. -
hitko31455yPerhaps if major *nix distros switched 2.x for 3.x as the base Python package sooner instead of waiting for EOL, the whole community and companies using it would follow the initiative...
After all, even someone who always uses the most up-to-date things will think twice when they have to choose between
- writing a portable script in Python 2 and having it run on most Linux systems out-of-the-box, or
- writing it in Python 3 and having to first install a whole bunch of packages everywhere they want to run it -
Related Rants
Worst job I had as a developer:
Convert all Python2.7 code the team wrote for the last 5 years to Python3 alone.
rant
python
wk196