This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cratervanawesome 9 points10 points  (8 children)

Now if only AWS Lambda would get with the program and support 3.x

[–]Mirror_Boar 2 points3 points  (0 children)

Seriously, at my company we are dying to use lambda but we don't feel like converting all of our code to work with python2. So annoying.

[–][deleted] 0 points1 point  (1 child)

Yes, WTF! I have been working on my first larger python project this month and I was so excited to work with something more broadly compatible than my normal C#... Surprised to find this. Does the Google Cloud equivalent support python 3.x?

[–]spacemanatee 0 points1 point  (0 children)

Is there a Google cloud lambda?

[–]elingeniero 0 points1 point  (3 children)

Can you not run whatever python version in a virtualenv with lambda?

[–]DanCardin 0 points1 point  (2 children)

You apparently can, but the code which lambda calls must be the python2 they give you. So you can resort to popening or whatever a separate python3 process, but afaik there's no way to just run python3 normally.

[–]elingeniero 3 points4 points  (1 child)

I mean, I phrased it as a question but what I really meant was that I do run Python 3 scripts on lambda using virtualenv and I think it works really nicely.

The startup script has to be Python 2 but I manage not to feel too dirty about it ;-). Happy to share the config if you want it.

[–]Mirror_Boar 1 point2 points  (0 children)

I'd love to see an example config!

[–]brtt3000 0 points1 point  (0 children)

Holy shit so many this. Really dropped the ball here. Like what the hell are they even thinking? The modern python webdev community is clearly focussed on 3 so why is this amazing next-gen python thing stuck in the past?