[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 for this array which obviously consists of more 
than 3 bytes.

--
components: Library (Lib)
messages: 348218
nosy: 2xB
priority: normal
severity: normal
status: open
title: multiprocessing numpy.ndarray not transmitted properly
type: behavior
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com