Opened 6 years ago

#7219 enhancement new

twisted.python.deprecate.deprecated should be usable as a class decorator to deprecate a class

Reported by: Jean-Paul Calderone Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author:

Description

Combined with #7218 and #7217 this would make it possible to say "If you want to deprecate something that can be decorated, use twisted.python.deprecate.deprecated (otherwise fall back to deprecatedModuleAttribute)".

This would be a nice simplification over the current story.

Change History (0)

Note: See TracTickets for help on using tickets.