On reading this pep, I was not clear on one issue. In some interface proposals (zope?), as well as in c++0x concept proposal, there is a mechanism to specify how to adapt a given class to satisfy given interface requirements.
For example, suppose container ABC requires a 'size'. Suppose I have a container-like class C, but it's size is called 'len'. The idea is to be able to specify, _outside of the class C_, that the size requirement is met, and it's called 'len'. Does pep 3119 offer that functionality? _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
