Re: [Numpy-discussion] numpy array casting ruled not safe

2015-03-07 Thread Jaime Fernández del Río
On Sat, Mar 7, 2015 at 1:52 PM, Charles R Harris wrote: > > > On Sat, Mar 7, 2015 at 2:45 PM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> >> >> On Sat, Mar 7, 2015 at 2:02 PM, Dinesh Vadhia >> wrote: >> >>> This was originally posted on SO ( >>> https://stackoverflow.com/questi

Re: [Numpy-discussion] numpy array casting ruled not safe

2015-03-07 Thread Charles R Harris
On Sat, Mar 7, 2015 at 2:45 PM, Charles R Harris wrote: > > > On Sat, Mar 7, 2015 at 2:02 PM, Dinesh Vadhia > wrote: > >> This was originally posted on SO ( >> https://stackoverflow.com/questions/28853740/numpy-array-casting-ruled-not-safe) >> and it was suggested it is probably a bug in numpy

Re: [Numpy-discussion] numpy array casting ruled not safe

2015-03-07 Thread Charles R Harris
On Sat, Mar 7, 2015 at 2:02 PM, Dinesh Vadhia wrote: > This was originally posted on SO ( > https://stackoverflow.com/questions/28853740/numpy-array-casting-ruled-not-safe) > and it was suggested it is probably a bug in numpy.take. > > Python 2.7.8 |Anaconda 2.1.0 (32-bit)| (default, Jul 2 201

[Numpy-discussion] numpy array casting ruled not safe

2015-03-07 Thread Dinesh Vadhia
This was originally posted on SO (https://stackoverflow.com/questions/28853740/numpy-array-casting-ruled-not-safe) and it was suggested it is probably a bug in numpy.take. Python 2.7.8 |Anaconda 2.1.0 (32-bit)| (default, Jul 2 2014, 15:13:35) [MSC v.1500 32 bit (Intel)] on win32 Type "copyrigh

Re: [Numpy-discussion] numpy pickling problem - python 2 vs. python 3

2015-03-07 Thread Sebastian Berg
On Sa, 2015-03-07 at 10:23 +, Robert Kern wrote: > On Sat, Mar 7, 2015 at 9:54 AM, Pauli Virtanen wrote: > > > How about an extra use_pickle=True kwarg that can be used to disable > > using pickle altogether in these routines? > > If we do, I'd vastly prefer `forbid_pickle=False`. The use_pi

Re: [Numpy-discussion] numpy pickling problem - python 2 vs. python 3

2015-03-07 Thread Robert Kern
On Sat, Mar 7, 2015 at 9:54 AM, Pauli Virtanen wrote: > How about an extra use_pickle=True kwarg that can be used to disable > using pickle altogether in these routines? If we do, I'd vastly prefer `forbid_pickle=False`. The use_pickle spelling suggests that you are asking it to use pickle when

Re: [Numpy-discussion] numpy pickling problem - python 2 vs. python 3

2015-03-07 Thread Pauli Virtanen
07.03.2015, 01:29, Julian Taylor kirjoitti: > On 07.03.2015 00:20, Pauli Virtanen wrote: >> 06.03.2015, 22:43, Eric Firing kirjoitti: >>> On 2015/03/06 10:23 AM, Pauli Virtanen wrote: 06.03.2015, 20:00, Benjamin Root kirjoitti: > A slightly different way to look at this is one of sharing d