#11857: TemporaryFile class is missing the closed - attribute
-------------------------------------+-------------------------------------
     Reporter:  andi100              |                    Owner:
         Type:  Bug                  |  pombredanne
    Component:  File                 |                   Status:  assigned
  uploads/storage                    |                  Version:
     Severity:  Normal               |               Resolution:
     Keywords:  TemporaryFile        |             Triage Stage:  Accepted
  closed windows                     |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  1                    |                    UI/UX:  0
Easy pickings:  1                    |
-------------------------------------+-------------------------------------

Comment (by pombredanne):

 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.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/11857#comment:22>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to