Skip Montanaro wrote:
Martin> If the default encoding is ASCII, and you have a 8-bit Martin> character, the compiler will emit a warning if it is enhanced to Martin> follow PEP 263. So what were you getting at?
I was thinking about strings used as byte containers for non-character data.
In string literals ? I think it is common to encode this sort of data as hex or using octal escapes. Since these encodings are plain 7-bit ASCII I don't see a problem.
Your hint about the manual is correct though: we'll have to adapt that to the new reading as well.
-- Marc-Andre Lemburg CEO eGenix.com Software GmbH