[issue2292] Missing *-unpacking generalizations

Thomas Wouters report at bugs.python.org
Mon Apr 7 22:02:10 CEST 2008


Thomas Wouters <thomas at python.org> added the comment:

I'm not sure how this matters. The order of evaluation is the same, the
BUILD_SET implementation just hashes the evaluated items in a different
order. You can't really rely on that particular order as it's tied
closely to the stack representation CPython uses. I also see no
practical reason -- or even practical *way* -- to abuse the hashing
order. But you have given me an idea on how to improve some of the code
in the BUILD_*_UNPACK opcodes, hmm.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2292>
__________________________________


More information about the Python-bugs-list mailing list