Change looks good to me. One thing, I'd prefer if you passed and closed over the warnings.filters list as well as well as the tuple just added, to defend against that module global changing.
The warnings module upsets me a little more every time I go near it...
Change looks good to me. One thing, I'd prefer if you passed and closed over the warnings.filters list as well as well as the tuple just added, to defend against that module global changing.
The warnings module upsets me a little more every time I go near it...