【问题标题】:How to migrate Google Appengine Python runtime 2.7 to 3.7?如何将 Google Appengine Python 运行时 2.7 迁移到 3.7?
【发布时间】:2018-11-07 18:08:21
【问题描述】:

我打算将 Google Appengine Python 运行时 2.7 迁移到 3.7。 如何无缝实现?

【问题讨论】:

  • 2to3.py 怎么样?

标签: python google-app-engine-python


【解决方案1】:

Understanding differences between Python 2 and Python 3 on the App Engine standard environment,埋在官方文档中,描述了挑战。除非您不使用 ndb、memcache、电子邮件或大多数其他使 GAE-Std-Py27 成为 PaaS 的 API,否则您将无法无缝迁移。大多数这些 API 在 GAE-Std-Py3 中不可用(还没有?)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-08-17
    • 2012-04-25
    • 2011-12-18
    • 1970-01-01
    • 2022-07-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多