
Jan. 2, 2023
11:28 a.m.
Am 02.01.23 um 11:42 schrieb Никита Соболев:
One more thing that bothers me: why `typing.deprecated`? Why not `warnings.deprecated`? This is especially true if we raise runtime warnings. I would not expect to import this decorator from typing.
I agree with Nikita, even if it is a bit bikesheddy. I think this decorator will find wide use outside of type checkers, especially with linters and IDEs, but also with documentation generators. - Sebastian