[issue11549] Rewrite peephole to work on AST
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>
More information about the Python-bugs-list