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

SourceForge.net noreply at sourceforge.net
Tue Sep 16 15:13:27 EDT 2003


Patches item #807334, was opened at 2003-09-16 14:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
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