David Turner <[EMAIL PROTECTED]> added the comment:

The idiom appears at least 370 times in the standard library.  And,
while on its own it can't appear in a loop, a function that uses it
might get called in a loop.   

You mention some sort of AST optimizer.  I haven't really followed
Python development enough to know anything about this.  Is it worth
bothering to do other work on the peepholer which might handle some more
common cases?  If not, is there a branch or something where I can look
at the AST optimizer?

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4134>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to