Re: [Numpy-discussion] char with native integer signedness

2013-11-01 Thread Charles R Harris
On Thu, Oct 31, 2013 at 10:19 AM, Geoffrey Irving wrote: > On Thu, Oct 31, 2013 at 2:08 AM, Robert Kern > wrote: > > On Thu, Oct 31, 2013 at 12:52 AM, Geoffrey Irving > wrote: > >> > >> Is there a standard way in numpy of getting a char with C-native > >> integer signedness? I.e., > >> > >>

Re: [Numpy-discussion] char with native integer signedness

2013-10-31 Thread Robert Kern
On Thu, Oct 31, 2013 at 4:19 PM, Geoffrey Irving wrote: > > On Thu, Oct 31, 2013 at 2:08 AM, Robert Kern wrote: > > On Thu, Oct 31, 2013 at 12:52 AM, Geoffrey Irving wrote: > >> > >> Is there a standard way in numpy of getting a char with C-native > >> integer signedness? I.e., > >> > >> bo

Re: [Numpy-discussion] char with native integer signedness

2013-10-31 Thread Geoffrey Irving
On Thu, Oct 31, 2013 at 2:08 AM, Robert Kern wrote: > On Thu, Oct 31, 2013 at 12:52 AM, Geoffrey Irving wrote: >> >> Is there a standard way in numpy of getting a char with C-native >> integer signedness? I.e., >> >> boost::is_signed::value ? numpy.byte : numpy.ubyte >> >> but without nonsen

Re: [Numpy-discussion] char with native integer signedness

2013-10-31 Thread Robert Kern
On Thu, Oct 31, 2013 at 12:52 AM, Geoffrey Irving wrote: > > Is there a standard way in numpy of getting a char with C-native > integer signedness? I.e., > > boost::is_signed::value ? numpy.byte : numpy.ubyte > > but without nonsensical mixing of languages? This is for interop with a C/C++ e

[Numpy-discussion] char with native integer signedness

2013-10-30 Thread Geoffrey Irving
Is there a standard way in numpy of getting a char with C-native integer signedness? I.e., boost::is_signed::value ? numpy.byte : numpy.ubyte but without nonsensical mixing of languages? Thanks, Geoffrey ___ NumPy-Discussion mailing list NumPy-Dis