PEP 245: Python interfaces
Scottie
me at nospam.net
Sat Mar 31 19:42:10 EST 2001
The one further thing I'd like to see is a way to declare that a class
implements an interface without having to edit either the interface
or the class -- Imagine the situation where I obtain two packages,
and I want to tell the one package that it can accept objects from
the other.
I am otherwise quite pleased by the proposal. Perhaps a useful
part of thePEP would be a "File" interface, to provide a nice
concrete definition of a "file-like object."
-Scott David Daniels
More information about the Python-list
mailing list