This already exists as `warnings.DeprecationWarning` see the documentation
here:
https://docs.python.org/3/library/exceptions.html#DeprecationWarning
That said, the fact that this is hidden by default [as seen here](
https://docs.python.org/3/library/warnings.html)..
> Base category for warnings
I like the idea in principle.
Could be as simple the presence of a __deprecated__ attribute on the
class or function being deprecated. A simple decorator could set it.
On Mon, 2021-07-12 at 19:37 +0100, Sergei Lebedev wrote:
> Hi python-ideas,
>
> The subject is by no means new nor unique, and i