Georg Brandl <georg at python.org> added the comment: You probably just need to make the method a class method -- see METH_CLASS. _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue2898> _______________________________________