]> granicus.if.org Git - python/commit
add a SETUP_WITH opcode
authorBenjamin Peterson <benjamin@python.org>
Mon, 25 May 2009 13:13:44 +0000 (13:13 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 25 May 2009 13:13:44 +0000 (13:13 +0000)
commit1880d8b8231d0085700d5d3c03ee9b16c619720d
tree5ee56e8c0e04567dd7fb793a5c510007f623e3f3
parent179bf213ea0432f2219c9b72ff4c4e18062fb588
add a SETUP_WITH opcode

It speeds up the with statement and correctly looks up the special
methods involved.
Doc/library/dis.rst
Doc/reference/compound_stmts.rst
Include/opcode.h
Lib/opcode.py
Lib/test/test_descr.py
Misc/NEWS
Python/ceval.c
Python/compile.c
Python/import.c