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

[Python] pa.frombuffer(bytearray) returns immutable Buffer #18122

Closed
asfimport opened this issue Feb 14, 2018 · 2 comments
Closed

[Python] pa.frombuffer(bytearray) returns immutable Buffer #18122

asfimport opened this issue Feb 14, 2018 · 2 comments

Comments

@asfimport
Copy link

I'd expect it to return a mutable buffer:

>>> pa.frombuffer(bytearray(10)).is_mutable
False

Reporter: Antoine Pitrou / @pitrou
Assignee: Antoine Pitrou / @pitrou

PRs and other links:

Note: This issue was originally created as ARROW-2155. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Agreed. I would expect this to respect the PyBuf_WRITABLE flag

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Issue resolved by pull request 1608
#1608

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

No branches or pull requests

2 participants