#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
-------------------------------------+-------------------------------------

Comment (by sebzur):

 OKay - now I see it! This comment helps me a little.  You're right the
 when You're looking on this with hasattr, there's no 'fileno', and
 everything is **perfectly okay**.

 My 'fault' was, that I was looking on this firstly with `dir`, which
 simply listed 'fileno' as attr and than I was trying to use it. I was also
 looking into the code, where I also saw 'fileno' implemented.

 So I thing it should be left as it is... but there's still a tiny bit of
 hesitation in me when I'm thinking abut it...

 (fileno behaviour is like taken from the quantum mechanics: You know that
 it's not there only if You really try to touch it.) :D

 Anyway - thanks for the discussion!

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15783#comment:5>
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