2011/4/28 Raymond Hettinger <[email protected]>:
> It might be nice if there were a pragma or module variable to selectively 
> enable asserts for a given test module so that -O would turn-off asserts in 
> the production code but leave them on in a test_suite.

from __future__ import perfect_code_so_no_asserts

:)



-- 
Regards,
Benjamin
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to