[issue11549] Rewrite peephole to work on AST

Eugene Toder report at bugs.python.org
Sun Mar 27 18:30:11 CEST 2011


Eugene Toder <eltoder at gmail.com> added the comment:

> I don't think it can:
That already doesn't work in dict and set (eq not consistent with hash), I don't think it's a big problem if that stops working in some other cases. Anyway, I said "theoretically" -- maybe after some conservative type inference.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11549>
_______________________________________


More information about the Python-bugs-list mailing list