[Python-3000] struni and the Apple four-character-codes

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Jul 27 02:12:10 CEST 2007


Ronald Oussoren wrote:
> No. Four-character-constants are *not* strings or byte arrays, they  are 
> integer literals.

Well, in Pascal they were character arrays -- it
was only when they switched to C that they became
ints. Conceptually they're still the same thing.
Python isn't C, and doesn't have to be bound by
C's limitations.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | Carpe post meridiem!          	  |
Christchurch, New Zealand	   | (I'm not a morning person.)          |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+


More information about the Python-3000 mailing list