https://bugzilla.wikimedia.org/show_bug.cgi?id=70970
Bug ID: 70970
Summary: use DeprecationWarning system
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
pywikibot includes a lot of deprecation methods and parameters to support old
code. The deprecation messages are logged using the normal python logging
system, but are not routed through warnings.DeprecationWarning, which allows
command line control over whether they are displayed (and defaults to not being
displayed)
https://docs.python.org/2/library/warnings.html#warnings.warn
--
You are receiving this mail because:
You are the assignee for the bug.