Only warn once when the deprecation warning wrapper is called multiple times #2641

wants to merge 1 commit into


None yet
2 participants

ghost commented Jan 30, 2012

In response to 5403a8c#commitcomment-913323

If a reference to the deprecation warning wrapper is kept and used it warns every time. This adds a flag so that the previous behavior of only ever warning once is followed in all circumstances.

Quick patch that makes the above comply with the 80 column style guideline: e4af3e9


bnoordhuis commented Jan 30, 2012

Thanks, applied in 52bd0f9.

bnoordhuis closed this Jan 30, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment