Front Matter

Copyright © Michael Hudson mwh@python.net

All Rights Reserved

Permission to use, copy, modify, and distribute this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.

THE AUTHOR MICHAEL HUDSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

This documentation is © Michael Hudson mwh@python.net. I grant permission to freely redistribute, modify and print it.

I'd rather you sent changes to me rather then distribute competing versions of this software and documentation, but it's your choice.

The latest version of bytecodehacks should always be reachable from http://bytecodehacks.sourceforge.net and the latest doucmentation should be at http://bytecodehacks.sourceforge.net/bch-docs/bch/index.html.

Abstract:

This package contains a library of routines for editing the bytecodes executed by the Python virtual machine, and a set of routines that use the library to do unlikely things to Python functions and methods, such as locally binding references and inlining functions.

Send comments to mwh@python.net