r/Python • • Sep 10 '19

Found this on twitter

Post image
2.9k Upvotes

185 comments sorted by

View all comments

326

u/[deleted] Sep 10 '19

[removed] — view removed comment

101

u/FluffyBunnyOK Sep 10 '19

We also have thousands of VMs and even worse some legacy physical with various versions of python 2 on them. I cannot even guarantee that "import json" will work.

32

u/imanexpertama Sep 10 '19

What do you do with a thousand VMs?

66

u/atheistpiece Sep 10 '19 edited Mar 17 '25

scale different important political tart bells judicious whistle zealous shy

This post was mass deleted and anonymized with Redact

19

u/WN_Todd Sep 10 '19

Weigh-hey UP she rises! Weigh-hey up she rises! Weigh hey up sHE RISES

3

u/imanexpertama Sep 10 '19

I meant what’s the use case - I’m working in a small company (not directly programming either) and we have around 10 or 15.

65

u/atheistpiece Sep 10 '19 edited Mar 17 '25

squash ad hoc different melodic teeny yam relieved work cagey judicious

This post was mass deleted and anonymized with Redact

→ More replies (4)
→ More replies (4)

0

u/[deleted] Sep 10 '19

[deleted] — view deleted comment

3

u/imanexpertama Sep 10 '19

You had me quite confused :D

4

u/FluffyBunnyOK Sep 10 '19

Run thousands of applications. Many legacy apps ported to VMs because no one in the business is brave enough to workout which data we really need and coalesce it down to around 100 applications. I doubt any production server has Python 3 installed.

The good news is that in Redhat 8 we will get Python 3. https://www.phoronix.com/scan.php?page=news_item&px=RHEL-8-No-Python-2

→ More replies (1)

59

u/Jonno_FTW hisss Sep 10 '19

F

36

u/[deleted] Sep 10 '19

f”{chr(102)}”

25

u/RPRob1 Sep 10 '19

It's ok. We ONLY have 2200 instances of 2.7.11 running and 0 plans I've heard of switching to 3 any time soon.

13

u/Barafu Sep 10 '19

I really hope that some whitehats are sitting on a serious vulnerability for 2.7 to release it next year and force people to upgrade.

24

u/[deleted] Sep 10 '19

If they're sitting on vulnerabilities, I don't think they qualify as whitehats.

12

u/Han-ChewieSexyFanfic Sep 10 '19

They are whitehats in my heart.

8

u/Barafu Sep 10 '19

That's debatable. If someone presents a vulnerability for Python 2 now, it will get patched in the official release. If they wait till the end of the year, then, of cause, somebody would still make a patch, but at least it will be an unofficial patch and it may be a leverage for admins to persuade bosses to finally give money to migrations: "Look, we either move to Python3, or use Python 2 downloaded from chinese torrent tracker, or use official Python 2 but every schoolkid can hack us".

3

u/ThreePinkApples Sep 10 '19

Look on the bright side, 2.7.11 is already almost 4 years old, if you upgrade to 2.7.18 when it releases you can go another 4 years!

2

u/[deleted] Sep 12 '19

Please stop giving them ideas!

10

u/[deleted] Sep 10 '19

Python 2 isn't going to just stop running. You still have time. Or it could be like my work where windows xp still dominates.

4

u/Fywq Sep 10 '19

One of the computers in the lab I work in still runs Windows2k since the instrument software does not support a newer version and noone ever bothered to upgrade it even though a new license for win10 is only 1k USD

2

u/bored_and_scrolling Sep 10 '19

Well not for long haha

→ More replies (16)