Skip to content

ARROW-2292: [Python] Rename frombuffer() to py_buffer()#1736

Closed
pitrou wants to merge 1 commit intoapache:masterfrom
pitrou:ARROW-2292-py_buffer
Closed

ARROW-2292: [Python] Rename frombuffer() to py_buffer()#1736
pitrou wants to merge 1 commit intoapache:masterfrom
pitrou:ARROW-2292-py_buffer

Conversation

@pitrou
Copy link
Copy Markdown
Member

@pitrou pitrou commented Mar 12, 2018

No description provided.

Copy link
Copy Markdown
Member

@xhochy xhochy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought DeprecationWarning does not show up by default. FutureWarning instead?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not by default, though it will show up in interactive settings such as IPython. I can switch to FutureWarning if you prefer.

@wesm wesm force-pushed the ARROW-2292-py_buffer branch from 734cdab to 41bf5f8 Compare March 12, 2018 17:11
@wesm
Copy link
Copy Markdown
Member

wesm commented Mar 12, 2018

I tweaked to use the deprecation wrapper-maker and use FutureWarning (so this will show up even in non-interactive code -- this is the convention we've been using in pandas for visible deprecations so people should be used to it by now)

@wesm wesm closed this in 3917e85 Mar 12, 2018
@pitrou pitrou deleted the ARROW-2292-py_buffer branch March 12, 2018 18:11
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.

3 participants