[Numpy-discussion] Unicode revisited

David Cournapeau cournape@gmail....
Sat Aug 4 07:37:08 CDT 2012


On Sat, Aug 4, 2012 at 12:58 PM, Stefan Krah <stefan-usenet@bytereef.org> wrote:
> Nathaniel Smith <njs@pobox.com> wrote:
>> On Sat, Aug 4, 2012 at 11:42 AM, Stefan Krah <stefan-usenet@bytereef.org> wrote:
>> >         switch (descr->byteorder) {
>> >         case '<':
>> >             byteorder = -1;
>> >         case '>':
>> >             byteorder = 1;
>> >         default: /* '=', '|' */
>> >             byteorder = 0;
>> >         }
>>
>> I think you might want some breaks in here...
>
> Indeed. Shame on me for posting quick-and-dirty code.

Maybe we should unit-testing our email too :)

David


More information about the NumPy-Discussion mailing list