Thanks, Ziga
I have submitted the bug to http://projects.scipy.org/scipy/numpy
I am using the following workaround for now:
>>> import numpy
>>> import pickle
>>> import __builtin__
>>> __builtin__.float32_arrtype = numpy.float32
>>> pickle.dumps(numpy.float32)
'c__builtin__\nfloat32_arrtype\np0
Iljya wrote:
> I have reproduced the error with Numpy 1.0b1
>
> The output with v.1.0b1 reads:
> PicklingError: Can't pickle : it's not found as
> __builtin__.float32scalar
>
> Has anyone else encountered this?
>
> Thanks,
>
> Iljya
>
> Iljya wrote:
> > Hello,
> >
> > I need to pickle the type nump
I have reproduced the error with Numpy 1.0b1
The output with v.1.0b1 reads:
PicklingError: Can't pickle : it's not found as
__builtin__.float32scalar
Has anyone else encountered this?
Thanks,
Iljya
Iljya wrote:
> Hello,
>
> I need to pickle the type numpy.float32 but encounter an error when I
Hello,
I need to pickle the type numpy.float32 but encounter an error when I
try to do so. I am able to pickle the array itself, it is specifically
the type that I cannot pickle.
I am using:
Numpy version: 0.9.4
Python version: 2.4.3
Windows XP
Here is the code that reproduces the error:
___