Currently the API module uses a custom warning system, and some parts of the codebase dont correctly handle multiple warnings:
The API should be migrated to using the Python core warning system
https://docs.python.org/2/library/warnings.html#warnings.warn
Version: core-(2.0)
Severity: normal
See Also:
T72970: use DeprecationWarning system