Mercurial > cpython-lru_cache-weakref
diff Python/thread_pthread.h @ 5181:8a0b80dc6e71 legacy-trunk
Added support for ``if __debug__:'' -- if -O is given, this form is
recognized by the code generator and code generation for the test and
the subsequent suite is suppressed.
One must write *exactly* ``if __debug__:'' or ``elif __debug__:'' --
no parentheses or operators must be present, or the optimization is
not carried through. Whitespace doesn't matter. Other uses of
__debug__ will find __debug__ defined as 0 or 1 in the __builtin__
module.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 11 Mar 1997 18:42:21 +0000 |
| parents | 9bc652e9f2b4 |
| children | 2c81d7d68ed3 |
