Ram Rachum <cool-rr at cool-rr.com> added the comment: Sorry, I accidentally typed "def" instead of "class" in my code sample. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue8289> _______________________________________