Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work on deprecation warnings #151

Merged
merged 3 commits into from
Dec 18, 2015
Merged

Conversation

minrk
Copy link
Member

@minrk minrk commented Dec 17, 2015

  • handle super offset to get correct stacklevel for init(**metadata) warning
  • use warn_explicit to point to deprecated magic method definitions,
    instead of the event-triggering code, which isn't relevant.

(includes #149)

instead of deprecated APIs
use warn_explicit to point directly to method definitions,
rather than event-triggering code, which is not informative.
@minrk minrk added this to the 4.1 milestone Dec 17, 2015
@minrk minrk mentioned this pull request Dec 18, 2015
@SylvainCorlay
Copy link
Member

wow, I did not know one could do this with stacklevel. This looks good to me. Is it ready in your opinion?

@minrk
Copy link
Member Author

minrk commented Dec 18, 2015

Yup, I think this one's ready. There's more thinking to do on #149, since the code is not currently backward-compatible.

SylvainCorlay added a commit that referenced this pull request Dec 18, 2015
Work on deprecation warnings
@SylvainCorlay SylvainCorlay merged commit 2e7ac5d into ipython:master Dec 18, 2015
@minrk minrk deleted the deprecations branch December 18, 2015 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants