Sean Reifschneider added the comment: This is a documentation complaint, right? Perhaps more of a discussion of why not implement these attributes on file-like objects. In general, I believe the documentation is correct. Setting fileno to -1 is likely to break other things in unexpected ways. Because when opening a real file object, -1 would mean the file open failed, and the file object would not get created.
The documentation is right, right? ---------- assignee: -> fdrake components: +Documentation -Library (Lib) nosy: +fdrake, jafo priority: -> low __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1126> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com