[openstack-dev] [oslo] Deprecation path?

Brant Knudson blk at acm.org
Fri Apr 24 19:25:16 UTC 2015


On Fri, Apr 24, 2015 at 2:21 PM, Robert Collins <robertc at robertcollins.net>
wrote:

> I think it needs a three-step dance.
>
> 1) Commit the intent to deprecate but don't signal it programmatically.
>

Python's warnings package has a PendingDeprecationWarning for this --
https://docs.python.org/2.6/library/warnings.html#warning-categories

- Brant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150424/ec1be9f3/attachment.html>


More information about the OpenStack-dev mailing list