Collin Winter <collinw at gmail.com> added the comment: Antoine: yes, this optimization is already implemented in the Unladen JIT. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue1518> _______________________________________