[Python-Dev] [Python-checkins] Python Regression Test Failures refleak (101)

Georg Brandl g.brandl at gmx.net
Sun May 28 23:01:49 CEST 2006


Michael Hudson wrote:
> Michael Hudson <mwh at python.net> writes:
> 
>> I think I've fixed the refleaks too, but running regrtest -R :: takes
>> raaaather a while.
> 
> I hadn't: test_codecs and test_codeccallbacks both leak, the latter
> quite spectacularly (9000+ refleaks a run).  The test_codecs leaks
> come from calls to codecs.decode_charmap, I'm not sure that it's to do
> with the exceptions.c changes.  The test_codeccallbacks leaks seem
> more like they could be exception related: when a unicode decoding
> fails, two references are leaked.
> 
> I've run out of energy for these tonight.

I repaired that, it was in the GetStart/GetEnd functions for UnicodeErrors.

Currently running -R ::, so let's see...

Georg



More information about the Python-Dev mailing list