#26508: FieldFile.open documentation incorrect
--------------------------------------+--------------------
     Reporter:  tobias                |      Owner:  nobody
         Type:  Cleanup/optimization  |     Status:  new
    Component:  Documentation         |    Version:  1.9
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 The documentation for `FieldFile.open` claims that it behaves like the
 standard Python `open()` method, which is incorrect. It does not return a
 file descriptor the way the Python method does.

 This method also may not be necessary to call except to re-open the file,
 since the underlying file is opened implicitly any time the `file`
 attribute is accessed.

 I have a proposed change to the documentation which I will link to after I
 have a ticket number assigned.

--
Ticket URL: <https://code.djangoproject.com/ticket/26508>
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/049.3ea8fb9dcde5b86dc4647be90643c5e7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to