c enum - how to do this in python?

Jp Calderone exarkun at intarweb.us
Sat Feb 22 01:02:38 EST 2003


On Sat, Feb 22, 2003 at 05:34:20AM +0000, Grant Edwards wrote:
> In article <haad5voagh78aempcuv3g460p4f2eea3ne at 4ax.com>, Rene Pijlman wrote:
> 
> > I'm not sure where things went wrong in computer science. 
> > 
> > C lacks a byte data type,
> 
> Eh? C has three byte data types:
> 
>   unsigned char
>   signed char
>   char

  Eh, nope.  This is the wrong place for pedantry about the C language
standard.  I'll just refer you to section 3.3 through 3.5 of JTC1/SC22/WG14
N794 (the C language standard).

  Jp

--
        "I quite agree with you," said the Duchess; "and the moral of
that is -- Be what you would seem to be' -- or, if you'd like it put
more simply -- Never imagine yourself not to be otherwise than what it
might appear to others that what you were or might have been was not 
otherwise than what you had been would have appeared to them to be
otherwise.'"       -- Lewis Carrol, "Alice in Wonderland"
-- 
 up 13 days, 10:28, 7 users, load average: 0.04, 0.02, 0.05
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20030222/895ff3e2/attachment.sig>


More information about the Python-list mailing list