status of Programming by Contract (PEP 316)?

Aahz aahz at pythoncraft.com
Sun Sep 2 12:40:41 EDT 2007


In article <1188709535.459572.22130 at r34g2000hsd.googlegroups.com>,
Russ  <uymqlp502 at sneakemail.com> wrote:
>
>Excellent points. As for "no strong case for adding new features to
>Python specifically for design-by-contract," if you mean adding
>something to language itself, I agree, but I see nothing wrong with
>adding it to the standard libraries, if that is possible without
>changing the language itself. Someone please correct me if I am wrong,
>but I think PEP adds only to the libraries.

You're wrong, but even aside from that, libraries need to prove
themselves useful before they get added.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Many customs in this life persist because they ease friction and promote
productivity as a result of universal agreement, and whether they are
precisely the optimal choices is much less important." --Henry Spencer
http://www.lysator.liu.se/c/ten-commandments.html



More information about the Python-list mailing list