Pre/Postconditions with decorators

Paul Rubin http
Sun Jan 9 05:59:19 EST 2005

Stephen Thorne <stephen.thorne at> writes:
> > It should be left on.  Leaving it in for development and turning it
> > off for production is like wearing a parachute during ground training
> > and taking it off once you're in the air.
> So we can't use this for a case where we have an extremely large list
> then ;). Its an O(n) operation to just call a function that takes a
> list of a specific type.

The condition should be enforced at the time whenever list itself is

More information about the Python-list mailing list