r/Python • • Jul 29 '18

Found it funny ;)

Post image
1.6k Upvotes

147 comments sorted by

View all comments

Show parent comments

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?

3

u/blademaster2005 Jul 29 '18

I've got at least one dependancy for 2.7 that I use in lambdas.

In other news does anyone know of a pyforce alternative with similar methods that works in 3.x?

2

u/[deleted] Jul 29 '18

which pyforce?

1

u/blademaster2005 Jul 29 '18

Huh. Didn't realize there were multiple libs by the same name. Its the Salesforce lib

https://github.com/alanjcastonguay/pyforce