[Numpy-discussion] Unicode revisited

Stefan Krah stefan-usenet@bytereef....
Sat Aug 4 06:58:53 CDT 2012


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.


Stefan Krah





More information about the NumPy-Discussion mailing list