Fred L. Drake, Jr. added the comment:

The documentation does not say what's implied by msg55724; they methods
can (and arguably should) be implmented by types for which they apply
(for which there is a corresponding file descriptor, for example).

There is an API issue here as well: what about a wrapper type that is
sometimes associated with a real file, and sometimes not?  I suppose in
that case the factory (constructor) needs to detect the situation and
return an instance of an appropriate type.

The documentation is clear, so far as it goes, but is arguably incomplete.

__________________________________
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

Reply via email to