On Tue, Jan 17, 2012 at 9:28 AM, Robert Kern wrote:
> On Tue, Jan 17, 2012 at 05:11, Andreas Kloeckner
> wrote:
>> Hi Robert,
>>
>> On Fri, 30 Dec 2011 20:05:14 +, Robert Kern
>> wrote:
>>> On Fri, Dec 30, 2011 at 18:57, Andreas Kloeckner
>>> wrote:
>>> > Hi Robert,
>>> >
>>> > On Tue, 27
On Tue, Jan 17, 2012 at 05:11, Andreas Kloeckner
wrote:
> Hi Robert,
>
> On Fri, 30 Dec 2011 20:05:14 +, Robert Kern wrote:
>> On Fri, Dec 30, 2011 at 18:57, Andreas Kloeckner
>> wrote:
>> > Hi Robert,
>> >
>> > On Tue, 27 Dec 2011 10:17:41 +, Robert Kern
>> > wrote:
>> >> On Tue, Dec
Hi Robert,
On Fri, 30 Dec 2011 20:05:14 +, Robert Kern wrote:
> On Fri, Dec 30, 2011 at 18:57, Andreas Kloeckner
> wrote:
> > Hi Robert,
> >
> > On Tue, 27 Dec 2011 10:17:41 +, Robert Kern
> > wrote:
> >> On Tue, Dec 27, 2011 at 01:22, Andreas Kloeckner
> >> wrote:
> >> > Hi all,
> >>
On Fri, Dec 30, 2011 at 18:57, Andreas Kloeckner
wrote:
> Hi Robert,
>
> On Tue, 27 Dec 2011 10:17:41 +, Robert Kern wrote:
>> On Tue, Dec 27, 2011 at 01:22, Andreas Kloeckner
>> wrote:
>> > Hi all,
>> >
>> > Two questions:
>> >
>> > - Are dtypes supposed to be comparable (i.e. implement '==
Hi Robert,
On Tue, 27 Dec 2011 10:17:41 +, Robert Kern wrote:
> On Tue, Dec 27, 2011 at 01:22, Andreas Kloeckner
> wrote:
> > Hi all,
> >
> > Two questions:
> >
> > - Are dtypes supposed to be comparable (i.e. implement '==', '!=')?
>
> Yes.
>
> > - Are dtypes supposed to be hashable?
>
>
On Tue, Dec 27, 2011 at 01:22, Andreas Kloeckner
wrote:
> Hi all,
>
> Two questions:
>
> - Are dtypes supposed to be comparable (i.e. implement '==', '!=')?
Yes.
> - Are dtypes supposed to be hashable?
Yes, with caveats. Strictly speaking, we violate the condition that
objects that equal each o
Hi all,
Two questions:
- Are dtypes supposed to be comparable (i.e. implement '==', '!=')?
- Are dtypes supposed to be hashable?
PyCUDA and PyOpenCL assume both in a few places, but at least
hashability doesn't seem to be true. (If so, __hash__ should be
implemented to throw an error. If not, w