The subject of bytecode hacking has come up a few times at Py-SIG meetings so I thought some of you might be interested in this article, it goes into quite a bit of detail on one particular bytecode hack: http://www.voidspace.org.uk/python/articles/code_blocks.shtml Kent