Thread of 2 posts

Wasted 10 minutes to "Untyped function decorator obscures type of function", only to realise I was reading a PEP for #python 3.12 >,<...

https://peps.python.org/pep-0702/

Jeebus, do I really need a third party library to mark something as deprecated?

Luckily #twisted has me covered (wanted to use stdlib mostly, but hey): https://docs.twistedmatrix.com/en/stable/api/twisted.python.deprecate.html

Well, that was easier than expected. The "deprecated" decorator works as it ought to and it plays nicely with the library Version.
Of course it does, #twisted devs know their stuff.