Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Apr 2, 2022

memoryview.cast() and memoryview.nbytes were added in Python 3.3.

https://bugs.python.org/issue47199

Copy link
Contributor

@MaxwellDupre MaxwellDupre left a comment

Choose a reason for hiding this comment

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

Ran the multiprocessing tests and results ok.

When m.itemsize > 1, avoid copying memory.
Copy link
Member

@corona10 corona10 left a comment

Choose a reason for hiding this comment

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

lgtm

@corona10 corona10 merged commit 1699128 into python:main May 3, 2022
@ghost ghost deleted the send_bytes branch May 4, 2022 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants