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

Buffer protocol accessible in Python with Python 3.12. #1073

Open
lgautier opened this issue Nov 11, 2023 · 0 comments
Open

Buffer protocol accessible in Python with Python 3.12. #1073

lgautier opened this issue Nov 11, 2023 · 0 comments

Comments

@lgautier
Copy link
Member

Is your feature request related to a problem? Please describe.

Python 3.12 is making the buffer protocol accessible in Python (https://docs.python.org/3.12/whatsnew/3.12.html#pep-688-making-the-buffer-protocol-accessible-in-python). Rpy2 should use it for R arrays.

Describe the solution you'd like
Cleaner buffer protocol implementation.

Describe alternatives you've considered
The current implementation is an alternative to the absence of buffer protocol accessible from Python.

Additional context
NA

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

No branches or pull requests

1 participant