-
Notifications
You must be signed in to change notification settings - Fork 57
tempfile._TemporaryFileWrapper not available under Google Appengine #106
Comments
👍 Good call. |
Worth noting that even when we do resolve this, the |
Is there any workaround for this? I am trying to deploy an app to the Google App Engine standard python environment and this is causing Django to crash on load. For the record everything works fine in the GAE flexible environment, but not in the standard environment. |
It seems to me that rather than using |
Hoping to look into resolving this sometime over the next few days. |
Okay, that should be resolved now. If anyone wants to confirm that'd be fab. |
Google appengine replaces the tempfile module with a custom one (since you can't write to the FS under "traditional" GAE): https://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/dist/tempfile.py
However this module lacks the
_TemporaryFileWrapper
on whichutils.DownloadedFile
is based: https://github.com/core-api/python-client/blob/master/coreapi/utils.py#L119Given that
_TemporaryFileWrapper
is an undocumented API (class) IMHO the dependency on it should be removed.The text was updated successfully, but these errors were encountered: