]> granicus.if.org Git - python/commit
Another "if 0:" hack, this time to complain about otherwise invisible
authorTim Peters <tim.peters@gmail.com>
Thu, 28 Jun 2001 01:52:22 +0000 (01:52 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 28 Jun 2001 01:52:22 +0000 (01:52 +0000)
commit08a898f85d69c060241dc7f07f003e6e6c4acd50
tree79da11e3bbe1c616a0193b96299fa469d51c1f17
parent72b068566ace24bb49c935ba4c539f021212249a
Another "if 0:" hack, this time to complain about otherwise invisible
"return expr" instances in generators (which latter may be generators
due to otherwise invisible "yield" stmts hiding in "if 0" blocks).
This was fun the first time, but this has gotten truly ugly now.
Lib/test/test_generators.py
Python/compile.c