logilab-common #108205 Deprecation Warning filter [validation pending]
Implement a handler to refine the deprecation message handling. Messages are dropped for versions more recent than the 'compatible' version. Example: handler = deprecation.DeprecationHandler("module_name") handler.compatibility('1.3') handler.warn('1.2', "message.") @handler.deprecated('1.2', 'Message') def any_func(): pass | |
priority | normal |
---|---|
type | enhancement |
done in | 0.60.0 |
load | 0.500 |
load left | 0.000 |
closed by | #e1d5f4b98134 Add version handling to the deprecation module (closes #108205). |
patch | deprecation: implement moved/class_renamed/class_moved using DeprecationManager [applied]Add version handling to the deprecation module (closes #108205). [applied] |