Hallöchen!

When I add a warning filter with warnings.filterwarnings, how can I
get rid of it?  I've read about resetwarnings(), but it removes all
filters, even those that I didn't install in a certain function.

In particular, I want to transform one special form of warning in an
exception to keep track of it more easily.  However, before leaving
my function I want to restore the old status.

How can this be achieved?  Thank you!

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to