decorators in the python standard lib (@deprecated specifically)
Posted
by Stefano Borini
on Stack Overflow
See other posts from Stack Overflow
or by Stefano Borini
Published on 2010-03-29T07:14:57Z
Indexed on
2010/03/29
7:33 UTC
Read the original article
Hit count: 245
I need to mark routines as deprecated, but apparently there's no standard library decorator for deprecation. I am aware of recipes for it and the warnings module, but my question is: why is there no standard library decorator for this (common) task ?
Additional question: are there standard decorators in the standard library at all ?
© Stack Overflow or respective owner