#11857: TemporaryFile class is missing the closed - attribute
-------------------------------------+-------------------------------------
     Reporter:  andi100              |                    Owner:
         Type:  Bug                  |  Christopher Adams
    Component:  File                 |  <christopher.r.adams@…>
  uploads/storage                    |                   Status:  closed
     Severity:  Normal               |                  Version:
     Keywords:  TemporaryFile        |               Resolution:  fixed
  closed windows                     |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Christopher Adams <christopher.r.adams@…>):

 * status:  new => closed
 * owner:   => Christopher Adams <christopher.r.adams@…>
 * resolution:   => fixed


Comment:

 In [changeset:"b2f5ac16565605f20a0c4e90acc6beed5a5ac1ce"]:
 {{{
 #!CommitTicketReference repository=""
 revision="b2f5ac16565605f20a0c4e90acc6beed5a5ac1ce"
 Fixed #11857 -- Added missing 'closed' property on TemporaryFile class.

 - TemporaryFile now minimally mocks the API of the Python standard
   library class tempfile.NamedTemporaryFile to avoid AttributeError
   exceptions.
 - The symbol django.core.files.NamedTemporaryFile is actually assigned
   as a different class on different operating systems.
 - The bug only occurred if Django is running on Windows, hence why it
   was hard to diagnose.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/11857#comment:33>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.b36c0c750ca9057e5e506dee338e769a%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to