A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-April/111084.html below:

[Python-Dev] the role of assert in the standard library ?

[Python-Dev] the role of assert in the standard library ? [Python-Dev] the role of assert in the standard library ?Benjamin Peterson benjamin at python.org
Fri Apr 29 01:09:59 CEST 2011
2011/4/28 Raymond Hettinger <raymond.hettinger at gmail.com>:
> 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4