#15783: Class FileProxyMixin has invalid attribute definition
-------------------------------------+-------------------------------------
               Reporter:  sebzur     |          Owner:  nobody
                   Type:  Bug        |         Status:  closed
              Milestone:             |      Component:  File
                Version:  1.3        |  uploads/storage
             Resolution:  invalid    |       Severity:  Normal
           Triage Stage:             |       Keywords:
  Unreviewed                         |      Has patch:  0
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
-------------------------------------+-------------------------------------
Changes (by jonash):

 * status:  new => closed
 * resolution:   => invalid
 * easy:   => 0


Comment:

 From the Python documentation:

     file.fileno()
     [...]
     File-like objects which do not have a real file descriptor should
 *not* provide
     this method!

 That's exactly what Django does: Raising an ``AttributeError`` for file-
 likes that have no ``fileno``.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15783#comment:2>
Django <http://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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to