New to Python: Features

Alex Martelli aleaxit at
Tue Oct 5 08:54:31 CEST 2004

Cameron Laird <claird at> wrote:
> >> 31. Concepts of Protocols (whereby one may organize related methods into
> >No.  Test-driven development is the norm in Python.
>                       .
> ... but see <URL: >
> for one among several DbC initiatives.

...and PEP 246 for Protocols (and more relevantly, pluggable
adaptation).  Eby's PyProtocols implements these ideas (and more); my
talk given earlier this year at OSCON (on masquerading and adaptation
design patterns in Python) has a short section on PEP 246, you should
find the PDF at


More information about the Python-list mailing list