2. The bytecodehacks

This section documents the actual bytecodehacks, i.e. the things you don't need to know all about the innards of the Python interpreter to understand. Of course knowing a fair bit about the interpreter helps understand how things work and how they might not.

Some general notes. Most of the bytecodehacks work on plain functions. xapply can cope with methods, but that's about it. Varadic functions and keyword arguments, are for the most part ignored. Sometimes this is inherent in the way the bytecodehacks work, sometimes it's me being a bit too lazy to cope with the details. Once I have got everything working well for the cases I support, I'll probably start adding extending those cases.


Send comments to mwh@python.net