Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

I am attaching a patch which does not crash or leak (as tested with -R :) and 
adds a unit test for OP's case.

The problem, however is that it does not work if new style classes are used in 
the test case.  See disabled (with if 0) test in the patch.

I'll give it some more thought.

----------
Added file: http://bugs.python.org/file17171/bltinmodule3.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1533>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to