Re: [Numpy-discussion] The I dtype character

2013-04-12 Thread Georg Brandl
Am 08.04.2013 09:14, schrieb Georg Brandl: Hi, is it intentional that I is supported as a dtype character, but cannot be suffixed with a size? dtype('i1') dtype('int8') dtype('I1') dtype('uint32') I know u is documented as unsigned integer, but this seems an unnecessary restriction

Re: [Numpy-discussion] The I dtype character

2013-04-12 Thread Nathaniel Smith
On Mon, Apr 8, 2013 at 8:14 AM, Georg Brandl g.bra...@gmx.net wrote: Hi, is it intentional that I is supported as a dtype character, but cannot be suffixed with a size? dtype('i1') dtype('int8') dtype('I1') dtype('uint32') i means integer. i1 means integer with 8 bits. I means 32-bit

[Numpy-discussion] The I dtype character

2013-04-08 Thread Georg Brandl
Hi, is it intentional that I is supported as a dtype character, but cannot be suffixed with a size? dtype('i1') dtype('int8') dtype('I1') dtype('uint32') I know u is documented as unsigned integer, but this seems an unnecessary restriction that is confusing. thanks, Georg