The issue with '_numpypy.multiarray' in the pickle string rather than
'numpy.core.multiarray' should be fixed on the numpypy_pickle_compat
branch (thanks to Eli)
A linux 64 build is available
http://buildbot.pypy.org/nightly/numpypy_pickle_compat/pypy-c-jit-85727-6d909c810029-linux64.tar.bz2.
El
Hi Phyo,
On 15 July 2016 at 15:58, Phyo Arkar wrote:
> For most python programmers we stay away from Java as much as possible. We
> are allergic to it.
That's a broad generalization, maybe not appropriate for this list.
A bientôt,
Armin.
___
pypy-d
Hi,
I verified that this version of PyPy can load a Numpy array that was
pickled by CPython (and do stuff with it), but it looks like a Numpy array
pickled by PyPy cannot be loaded by CPython, because PyPy still uses
'_numpypy.multiarray'
in the pickle string for dumping:
ImportError: No module na
To be more precise, PyPy pickling of Numpy arrays works fine, it is when
PyPy pickles a Numpy scalar that I get the error.
David.
On Sat, Jul 16, 2016 at 2:04 PM, David Brochart
wrote:
> Hi,
>
> I verified that this version of PyPy can load a Numpy array that was
> pickled by CPython (and do stu
So it seems the tests are lacking. Someone should:
- go through all the existing calls to dumps in tests and add
"assert '_numpypy' not in data"
- add tests for scalars
- fix so the tests pass
Matti
On 16/07/16 07:40, David Brochart
wrote:
sorry i just mean it as a joke.
On Sat, Jul 16, 2016 at 6:17 PM Armin Rigo wrote:
> Hi Phyo,
>
> On 15 July 2016 at 15:58, Phyo Arkar wrote:
> > For most python programmers we stay away from Java as much as possible.
> We
> > are allergic to it.
>
> That's a broad generalization, maybe not app
I am not surprised that my current branch doesn't cover all cases; it
was specifically targeted at my exact, singular use case.
I'll work on making something more general, as well as improving test coverage.
On Sat, Jul 16, 2016 at 9:29 AM, Matti Picus wrote:
> So it seems the tests are lacking.