Neal Norwitz wrote:
test_unicode leaked [7, 7, 7] references
This one is lacking this checkin:
r41530 | neal.norwitz | 2005-11-24 23:00:56 +0100 (Do, 24 Nov 2005) | 6 lines Geänderte Pfade: M /python/trunk/Lib/test/test_unicode.py
Move registration of the codec search function to the module scope so it is only executed once. Otherwise the same search function is repeated added to the codec search path when regrtest is run with -R and leaks are reported.
Applying it gets the number of leaked references down to 1.