[Python-Dev] PEP 263 -- Python Source Code Encoding (original) (raw)

Skip Montanaro skip@pobox.com
Wed, 27 Feb 2002 19:26:57 -0600


>> I was thinking about strings used as byte containers for
>> non-character data.

mal> In string literals ? I think it is common to encode this sort of
mal> data as hex or using octal escapes. Since these encodings are plain
mal> 7-bit ASCII I don't see a problem.

Precisely. I was thinking about situations where they aren't encoded, but sitting there naked, so to speak.

Skip