Aman Aggarwal
Aman Aggarwal

Reputation: 4005

Has anyone succeeded in using Google App Engine with Python version 2.6?

Since Python 2.6 is backward compatible to 2.52 , did anyone succeeded in using it with Google app Engine ( which supports 2.52 officially ).

I know i should try it myself. But i am a python and web-apps new bee and for me installation and configuration is the hardest part while getting started with something new in this domain. ( .... I am trying it myself in the meanwhile ....)

Thanks

Upvotes: 9

Views: 3425

Answers (2)

Nick Johnson
Nick Johnson

Reputation: 101149

There are a few issues with using Python 2.6 with the SDK, mostly related to the SDK's sandboxing, which is designed to imitate the sandbox limitations in production. Note, of course, that even if you get Python 2.6 running with the SDK, your code will still have to run under 2.5 in production.

Upvotes: 6

macbirdie
macbirdie

Reputation: 16203

I suppose logging module crashes if you try to start the dev environment. See the issue and a workaround.

After doing that change my code worked in 2.6 without any problems. I suggest using 2.5.x though so there are no other incompatibilities introduced in your code which would make your app fail on the live server.

Upvotes: 11

Related Questions