[PyPy-issue] [issue532] Disable assert statements with -O flag

Joost Cassee pypy-dev-issue at codespeak.net
Fri May 14 17:28:19 CEST 2010


New submission from Joost Cassee <joost at cassee.net>:

The CPython binary uses the -O flag to disable assert statements. PyPy should
offer the same behavior. See the IRC log at:
http://tismerysoft.de/pypy/irc-logs/pypy/%23pypy.log.20100514

See also for a description of CPython behavior:
http://docs.python.org/tutorial/modules.html#compiled-python-files
http://docs.python.org/reference/simple_stmts.html#the-assert-statement
http://docs.python.org/using/cmdline.html#interface-options

----------
effort: ???
messages: 1724
nosy: jcassee, pypy-issue
priority: feature
release: ???
status: unread
title: Disable assert statements with -O flag

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue532>
_______________________________________________________



More information about the Pypy-issue mailing list