Skip to content

DEPR: iterkv change Deprecation to FutureWarning #10867

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

Merged
merged 1 commit into from
Aug 21, 2015

Conversation

jorisvandenbossche
Copy link
Member

So this is visible to the users (already long time deprecated in the docs)

@jorisvandenbossche jorisvandenbossche added the Deprecate Functionality to remove in pandas label Aug 20, 2015
@jorisvandenbossche jorisvandenbossche added this to the 0.17.0 milestone Aug 20, 2015
@jreback
Copy link
Contributor

jreback commented Aug 20, 2015

what exactly is the difference between a Deprecation and Future warning?

@jorisvandenbossche
Copy link
Member Author

DeprecationWarning is not visible to users (by default), FutureWarning is

That is the reason we use mostly FutureWarnings

@jreback
Copy link
Contributor

jreback commented Aug 20, 2015

oh ok, good to know.

@jorisvandenbossche
Copy link
Member Author

Problem is that you actually want a combination of both: only show the warning if you call the function/method triggering it, and not when a library that you are using calls such a method. But AFAIK that is not possible.

jorisvandenbossche added a commit that referenced this pull request Aug 21, 2015
DEPR: iterkv change Deprecation to FutureWarning
@jorisvandenbossche jorisvandenbossche merged commit 32e60d7 into pandas-dev:master Aug 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants