https://bugzilla.wikimedia.org/show_bug.cgi?id=71738

            Bug ID: 71738
           Summary: API to use Warning system
           Product: Pywikibot
           Version: core (2.0)
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: network
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

Currently the API module uses a custom warning system, and some parts of the
codebase dont correctly handle multiple warnings:

http://git.wikimedia.org/blob/pywikibot%2Fcore.git/9ca1b85c367b381947426c2615f4ab246e497518/pywikibot%2Fsite.py#L4167

The API should be migrated to using the Python core warning system

https://docs.python.org/2/library/warnings.html#warnings.warn

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to