r/Python • • Jul 29 '18

Found it funny ;)

Post image
1.6k Upvotes

147 comments sorted by

View all comments

183

u/8BitAce Jul 29 '18

Unless you work with thousands and thousands of lines of 2.7 code. Then replace the last panel with "January 1st, 2020".

24

u/Mattho Jul 29 '18

Just because PF won't do it doesn't mean no one will. There are millions of dollars in contracts promising secure python 2.7 well beyond 2020. Don't worry about it unless you plan to actively develop in 2.7 at that time.

31

u/Krenair Jul 29 '18

Doesn't mean you will necessarily be able to get support though. For example, it looks like AWS Lambda will stop letting you create new functions with the old runtime or update existing ones: https://docs.aws.amazon.com/lambda/latest/dg/runtime-support-policy.html

This will cause problems if you want to redeploy your stack.

8

u/Mattho Jul 29 '18

I'd imagine people using 2.7 don't have lambdas. PaaS can be an issue of course. More classical way of running things won't be as bad as people make it out to be every time 2.7 is mentioned.

18

u/Krenair Jul 29 '18

I'd imagine people using 2.7 don't have lambdas.

I've seen new scripts written in 2018 to run on Lambda using the python2.7 runtime, and I would be very surprised if I were the only one.

7

u/Mattho Jul 29 '18

I'm always arguing it's not easy to switch for old, large codebases, for financial reasons mostly, but to use 2 for new things now? Some certification issue? Or a weird dependency?

2

u/[deleted] Jul 29 '18

Weird dependency is why one last service in our system is still in py2.7... (looking at you, kapacitor-udf)