Time to add feature to 7-year old Python script: 10 mins Time to set up Python env so I could run script: 3 hours Python scripts have a maintenance-free shelf life of a few years: it is not suitable for long-term codebases. I wish someone told me before I started using Python.
-
-
Ah, yes, 2.7 to 3.x is painful. I upgraded one of my projects from 2.7 to 3.5 and then the very same things were deprecated in 3.6... Mostly numerical matrix stuff. *sigh* The one thing Python doesn't need is more ways to format output text.
-
Yes, and as I worked through these problems and read various support threads, the attitude of the Python maintainers toward this gives me no reason to believe that e.g. Python4 is going to be any nicer a transition in a few years. I guess it's good job security for Python devs...
- 2 more replies
New conversation -
-
-
Python has had only one breaking (and generally trivial to migrate) major revision once in its 28 year life. Compare that to Perl, PHP, Java, etc for some perspective please, and add the fact that various frameworks have been churning out warnings for years to fix your code.
-
Ehhhh, not really. They've been deprecating a lot of stuff in every 3.x to 3.x+1 version from my experience.
End of conversation
New conversation -
-
-
I feel your pain. For Python scripts, I'm stuck in 2.x as that is what is defaulted on Linux workstation installs. I also develop Python apps for Windows, which are all 3.x . The minor incompatibilities become maddening in time.
-
Yuck, which distros are still 2.7 by default? RHEL/CentOS?
- 1 more reply
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
2.7 in a vm and keep it around just for that.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Python 2.7 isnt going anywhere. Lock your dependencies and it will keep working just fine.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
that's an advertising banner in pip.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
