#22307: tempfile.SpooledTemporaryFile passed to File causes exception
------------------------------+------------------------------------
     Reporter:  hrlawrenz@…   |                    Owner:  nobody
         Type:  Bug           |                   Status:  closed
    Component:  Core (Other)  |                  Version:  master
     Severity:  Normal        |               Resolution:  fixed
     Keywords:                |             Triage Stage:  Accepted
    Has patch:  1             |      Needs documentation:  0
  Needs tests:  0             |  Patch needs improvement:  1
Easy pickings:  0             |                    UI/UX:  0
------------------------------+------------------------------------
Changes (by Baptiste Mispelon <bmispelon@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"918a16bc4c099ab0cae72a231de3e99e2a9d02cb"]:
 {{{
 #!CommitTicketReference repository=""
 revision="918a16bc4c099ab0cae72a231de3e99e2a9d02cb"
 Fixed #22307 -- Fixed SpooledTemporaryFile bug in File class.

 Added condition to prevent checking the existence of a file name of a
 file like object when the name attribute is None. This is necessary
 because a SpooledTemporaryFile won't exist on the file system or have a
 name until it has reached its max_size. Also added tests.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22307#comment:2>
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/077.03ad07c27eafdb1dab367ad1b6052b37%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to