My quarterly question on Design by Contract in Python...

Tim Peters tim_one at email.msn.com
Sun May 9 03:06:04 EDT 1999


[Stuart Hungerford, smilingly informed]
> ...
>    Now...I wonder if it [Eiffel-like design by contract] could be
>    done with a Python pre-processor?

What it really needs is someone with both interest and time to pursue it.  I
guess that makes it unique in the world <wink>.

Metaclasses, preprocessing, and bytecode rewriting are all plausible
approaches.

looking-forward-to-doing-this-again-after-1.6<1/1.6-wink>-ly y'rs  - tim






More information about the Python-list mailing list