Christian Theune added the comment: I managed to create a patch that relies (in hopefully reasonably safe manner) on embedding an object repr for identification in this and similar cases. This is basically what implements what Martin suggested.
Caveat emptor: my C knowledge is only good enough to be dangerous. Thomas Wouters and RDM helped me through it. I haven't adapted the tests yet (lots of failures due to the output change) but I managed them to stop crashing. The 'repr.py' in the root is my current testbed to see what's going on. ---------- nosy: +ctheune, r.david.murray, twouters _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21202> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com