App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Classes | Variables
google.appengine._internal.django.core.files.temp Namespace Reference

Classes

class  TemporaryFile
 

Variables

tuple __all__ = ('NamedTemporaryFile', 'gettempdir',)
 
 NamedTemporaryFile = tempfile.NamedTemporaryFile
 
 gettempdir = tempfile.gettempdir
 

Detailed Description

The temp module provides a NamedTemporaryFile that can be re-opened on any
platform. Most platforms use the standard Python tempfile.TemporaryFile class,
but MS Windows users are given a custom class.

This is needed because in Windows NT, the default implementation of
NamedTemporaryFile uses the O_TEMPORARY flag, and thus cannot be reopened [1].

1: http://mail.python.org/pipermail/python-list/2005-December/359474.html