[merge] add symbol_versioning.deprecated_in to make deprecation strings

Martin Pool mbp at canonical.com
Thu May 1 00:24:17 BST 2008


On Thu, May 1, 2008 at 7:58 AM, John Arbash Meinel
<john at arbash-meinel.com> wrote:
> John Arbash Meinel has voted approve.
>  Status is now: Approved
>  Comment:
>  I like this, though "one_four" meant that typos would be caught at import
> time. Then again, it is hard to mistype "1, 5, 0".

Generally all deprecated methods should have tests that assert that
they are deprecated in a particular method, so you'd have to have the
same typo in the test as well.  And if it does slip through, giving a
warning like "deprecated in 11.5" while incorrect is not catastrophic.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list