[Python-Dev] Re: adding a bytes sequence type to Python (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Tue Aug 17 23:11:06 CEST 2004


Bob Ippolito wrote:

How would you embed raw bytes if the string was unicode?

The most direct notation would be

bytes("delimited packet\x00")

However, people might not understand what is happening, and Guido doesn't like it if the bytes are >127.

Regards, Martin



More information about the Python-Dev mailing list