On 3/03/21 12:24 pm, Chris Angelico wrote: > if PRODUCTION: > def assert(*a, **kw): pass > > would work if it were a function :) But would cost you a useless function call for every assert in production mode. -- Greg