#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 jonash): From the runtime's point of view (`hasattr`/`getattr`), it doesn't have a `fileno` attribute. {{{>>> class Foo(object): ... @property ... def fileno(self): ... raise AttributeError ... >>> hasattr(Foo(), 'fileno') False}}} -- Ticket URL: <http://code.djangoproject.com/ticket/15783#comment:4> 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.