warnings — Non-fatal Alerts — PyMOTW 3
Originally posted · 1 min read
The warnings module was introduced by PEP 230 as a way to warn programmers about changes in language or library features in anticipation of backwards incompatible changes coming with Python 3.0. It can also be used to report recoverable configuration errors or feature degradation from missing libraries.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.