Cult-like behaviour [was Re: Kindness]

Chris Angelico rosuav at gmail.com
Mon Jul 16 19:57:56 EDT 2018


On Tue, Jul 17, 2018 at 9:18 AM, Dan Sommers <dan at tombstonezero.net> wrote:
> Quick:  how long is the byte array that displays as '\xff'?  Too easy?
> What about '\0xff' and '0\xff'?

1, 4, 2 bytes respectively. Yep, easy... but then, I'm used to reading
backslash escapes. Nothing to do with text vs bytes.

DNS, of course, is different.

ChrisA


More information about the Python-list mailing list