Code

Changes between Initial Version and Version 1 of Ticket #11857, comment 22


Ignore:
Timestamp:
04/30/13 03:47:31 (15 months ago)
Author:
pombredanne
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11857, comment 22

    initial v1  
    1 Since Python 2.6, `tempfile.NamedTemporaryFile` has a new attribute: `delete=True/False` which likely removes the needs entirely to have a `django.core.temp.NamedTemporaryFile` wrapper specifically for 'nt'. I will investigate this since 2.6 is a requirement for 1.5.x. The lack of a closed attribute is something that happens only in some contexts and is something that is injected elsewhere and I am still trying to understand where/when exactly. 
     1Since Python 2.6, `tempfile.NamedTemporaryFile` has a new arg: `delete=True/False` which likely removes the needs entirely to have a `django.core.temp.NamedTemporaryFile` wrapper specifically for 'nt'. I will investigate this since 2.6 is a requirement for 1.5.x. The lack of a closed attribute is something that happens only in some contexts and is something that is injected elsewhere and I am still trying to understand where/when exactly.