[issue37637] multiprocessing numpy.ndarray not transmitted properly

2019-09-11 Thread Davin Potts
Davin Potts added the comment: Marking as closed after providing an example of how to send NumPy arrays as bytes with the send_bytes() function. -- resolution: -> not a bug stage: -> resolved status: -> closed ___ Python tracker

[issue37637] multiprocessing numpy.ndarray not transmitted properly

2019-07-20 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue37637] multiprocessing numpy.ndarray not transmitted properly

2019-07-20 Thread Benedikt Bieringer
New submission from Benedikt Bieringer <2xb.cod...@wwu.de>: The following code demonstrates the issue: import numpy as np from multiprocessing import Pipe p1, p2 = Pipe() arr = np.zeros((3, 5, 6), dtype=np.uint8) p2.send_bytes(arr) pm = p1.recv_bytes() print(pm) Only 3 bytes are transmitted fo