[pypy-issue] [issue1028] Putting numpypy arrays to (multiprocessing) queue fails

Valery tracker at bugs.pypy.org
Tue Oct 2 11:47:14 CEST 2012


Valery <khamenya at gmail.com> added the comment:

fijal, who could be assigned to this?

Details: still not implemented, current error & stack trace looks like this:

$ pypy test.py 
Traceback (most recent call last):
  File "/home/vak/pkg/pypy/lib-python/2.7/multiprocessing/queues.py", line 266, in 
_feed
    send(obj)
  File "/home/vak/pkg/pypy/lib-python/2.7/pickle.py", line 1417, in dumps
    Pickler(file, protocol).dump(obj)
  File "/home/vak/pkg/pypy/lib-python/2.7/pickle.py", line 224, in dump
    self.save(obj)
  File "/home/vak/pkg/pypy/lib-python/2.7/pickle.py", line 331, in save
    self.save_reduce(obj=obj, *rv)
  File "/home/vak/pkg/pypy/lib-python/2.7/pickle.py", line 396, in save_reduce
    save(cls)
  File "/home/vak/pkg/pypy/lib-python/2.7/pickle.py", line 286, in save
    f(self, obj) # Call unbound method with explicit self
  File "/home/vak/pkg/pypy/lib-python/2.7/pickle.py", line 792, in save_global
    (obj, module, name))
PicklingError: Can't pickle <type 'ndarray'>: it's not found as __builtin__.ndarray

----------
assignedto:  -> fijal
nosy: +fijal, vak

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1028>
________________________________________


More information about the pypy-issue mailing list