[Patches] [ python-Patches-807334 ] Prevent duplicate warnings filters

SourceForge.net noreply at sourceforge.net
Sat Sep 20 11:10:32 EDT 2003


Patches item #807334, was opened at 2003-09-16 14:13
Message generated for change (Settings changed) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=807334&group_id=5470

Category: Library (Lib)
Group: Python 2.3
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Raymond Hettinger (rhettinger)
Assigned to: Jeremy Hylton (jhylton)
Summary: Prevent duplicate warnings filters

Initial Comment:
Multiple registration of the same filter contributes no 

value but causes unnecessary growing reference counts 

for repeated tests.  Also, the duplicates slow down the 

already excrutiatingly slow warning.warn() which now 

appears throughout the codebase.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=807334&group_id=5470



More information about the Patches mailing list