Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] UNPACK_LIST & UNPACK_TUPLE

Thomas Woutersthomas@xs4all.net
Sat, 5 Aug 2000 17:18:30 +0200


I'm a tad confused about the 'UNPACK_LIST' and 'UNPACK_TUPLE' opcodes. Theredoesn't seem to be a difference between the two, yet the way they arecompiled is slightly different (but not much.) I can list all thedifferences I can see, but I just don't understand them, and because of thatI'm not sure how to handle them in augmented assignment. UNPACK_LIST justseems so redundant :)Wouldn't it make sense to remove the difference between the two, or betteryet, remove UNPACK_LIST (and possibly rename UNPACK_TUPLE to UNPACK_SEQ ?)We already lost bytecode compability anyway!-- Thomas Wouters <thomas@xs4all.net>Hi! I'm a .signature virus! copy me into your .signature file to help me spread!


[8]ページ先頭

©2009-2025 Movatter.jp