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...
- Još 2 druga odgovora
Novi razgovor -
-
-
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.
- Još 1 odgovor
Novi razgovor -
-
-
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?
- Još 1 odgovor
Novi razgovor -
-
-
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
2.7 in a vm and keep it around just for that.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Python 2.7 isnt going anywhere. Lock your dependencies and it will keep working just fine.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
that's an advertising banner in pip.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
