有没有人成功地使用了Python版本2.6的谷歌应用引擎?

时间:2021-12-20 23:16:04

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 ).

由于Python 2.6向后兼容于2.52,有人成功地将它与谷歌应用程序引擎(正式支持2.52)一起使用过吗?

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 ....)

我知道我应该自己试一试。但是我是一个python和web应用程序的新手,对我来说,安装和配置是在这个领域开始新东西时最困难的部分。(....我在自己同时....)

Thanks

谢谢

2 个解决方案

#1


11  

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.

在做了这些修改之后,我的代码在2.6中没有出现任何问题。我建议使用2.5。但是代码中没有其他不兼容的地方会让你的应用在服务器上失败。

#2


6  

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.

在SDK中使用Python 2.6有一些问题,主要是与SDK的沙箱有关,沙箱设计用于模仿产品中的沙箱限制。当然,请注意,即使您使用SDK运行Python 2.6,您的代码在生产环境中仍然必须在2.5以下运行。

#1


11  

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.

在做了这些修改之后,我的代码在2.6中没有出现任何问题。我建议使用2.5。但是代码中没有其他不兼容的地方会让你的应用在服务器上失败。

#2


6  

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.

在SDK中使用Python 2.6有一些问题,主要是与SDK的沙箱有关,沙箱设计用于模仿产品中的沙箱限制。当然,请注意,即使您使用SDK运行Python 2.6,您的代码在生产环境中仍然必须在2.5以下运行。