This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author arigo
Recipients
Date 2007-01-11.07:55:58
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Reimplementing the whole file interface as a proxy functions might be the safest route, yes.

I realized that the __getattr__() magic is also used to serve at least one special method, namely the __iter__() of the file objects.  This only works with old-style classes.  In the long-term future, when old-style classes disappear and these classes become new-style, this is likely to introduce a subtle bug.
History
Date User Action Args
2007-08-23 15:56:09adminlinkissue1630118 messages
2007-08-23 15:56:09admincreate