[issue9263] Try to print repr() when an C-level assert fails (in the garbage collector, beyond?)
Bohuslav "Slavek" Kabrda
report at bugs.python.org
Mon Jun 10 21:53:31 CEST 2013
Bohuslav "Slavek" Kabrda added the comment:
I'm currently patching Python 3.3.2 with this, so I thought it might be nice to attach an up-to-date patch. The only notable difference is that I added self.preclean() at the beginning of test_refcount_errors - without it, running test suite produced a huge number of these lines:
Exception AttributeError: "'GCCallbackTests' object has no attribute 'visit'" in <bound method GCCallbackTests.cb1 of <__main__.GCCallbackTests testMethod=test_refcount_errors>> ignored
----------
nosy: +bkabrda
Added file: http://bugs.python.org/file30532/00170-gc-assertions.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9263>
_______________________________________
More information about the Python-bugs-list
mailing list