This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients amaury.forgeotdarc, barry, benjamin.peterson, brian.curtin, eric.araujo, esam, ezio.melotti, flox, pitrou, rhettinger
Date 2010-02-02.17:55:21
SpamBayes Score 3.36631e-12
Marked as misclassified No
Message-id <>
In issue7092_test_support:
1) silence_py3k_warning should have a docstring that explain what the function does and what filters should be, possibly including an example;
2) I'd use "if not filters:" instead of "if filters == ():";
3) are there cases where the third arg of filterwarnings is not DeprecationWarning? If not, it's probably better to turn "filters" in a list of regex instead than a sequence of tuples like (regex, DeprecationWarning);
4) maybe silence_py3k_warning could yield an instance of WarningsRecorder, in case someone wants to access the silenced warnings.
Date User Action Args
2010-02-02 17:55:23ezio.melottisetrecipients: + ezio.melotti, barry, rhettinger, amaury.forgeotdarc, pitrou, benjamin.peterson, eric.araujo, brian.curtin, flox, esam
2010-02-02 17:55:23ezio.melottisetmessageid: <>
2010-02-02 17:55:22ezio.melottilinkissue7092 messages
2010-02-02 17:55:21ezio.melotticreate