Bytes indexing returns an int

Michael Torrie torriem at gmail.com
Wed Jan 8 12:25:09 EST 2014


On 01/08/2014 09:08 AM, wxjmfauth at gmail.com wrote:
> Byte strings (encoded code points) or native unicode is one
> thing.

Byte strings are not necessarily "encoded code points."  Most byte
streams I work with are definitely not unicode! They are in fact things
such as BER-encoded ASN.1 data structures.  Or PDF data streams.  Or
Gzip data streams.  This issue in this thread has nothing to do with
unicode.




More information about the Python-list mailing list