A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-March/062875.html below:

[Python-Dev] refleaks in 2.4

[Python-Dev] refleaks in 2.4 [Python-Dev] refleaks in 2.4"Martin v. Löwis" martin at v.loewis.de
Mon Mar 27 23:39:42 CEST 2006
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.

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4