PEP 255: Simple Generators, Revised Posting

Thomas Wouters thomas at xs4all.net
Sat Jun 23 19:22:02 EDT 2001


On Sat, Jun 23, 2001 at 05:27:45PM -0400, Tim Peters wrote:

> The answers can only be "no" if you think of "if 0:" as a C "#if 0"
> preprocessor gimmick.  The specific value after a Python "if" should have no
> effect on statically-determined properties of Python code.

Including code size ? We should just disable the dead-code-elimination then,
even in -OO mode (otherwise, code would suddenly *start* working when
'compiled' with heavy optimization... that'd be a first ;)

-- 
Thomas Wouters <thomas at xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!




More information about the Python-list mailing list