Martin Panter added the comment: Thanks for fixing the test Victor. The ctypes.pythonapi trick looks like a much better way. :) ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue22977> _______________________________________