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

Ronald Oussoren ronaldoussoren at mac.com
Thu Jul 26 07:52:34 CEST 2007


On 26 Jul, 2007, at 4:07, Greg Ewing wrote:
>
>> I initially thought that 'bytes'
>> was the appropriate type. Unfortunately, bytes is mutable, and I  
>> think
>> it makes sense to hash these constants (and some code in aepack.py
>> does).
>
> Is this another indication that we should have an
> immutable version of the bytes type?

No. Four-character-constants are *not* strings or byte arrays, they  
are integer literals.

Ronald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3562 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-3000/attachments/20070726/ed794ae0/attachment.bin 


More information about the Python-3000 mailing list