[Numpy-discussion] Unicode revisited

David Cournapeau cournape at gmail.com
Sat Aug 4 08:37:08 EDT 2012


On Sat, Aug 4, 2012 at 12:58 PM, Stefan Krah <stefan-usenet at bytereef.org> wrote:
> Nathaniel Smith <njs at pobox.com> wrote:
>> On Sat, Aug 4, 2012 at 11:42 AM, Stefan Krah <stefan-usenet at 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