Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: Actually, I was wrong: protocol 0 is the default if you don't specify the protocol.
This set the binary flag to false, which should result in ASCII-only data. The Unicode save routine uses the raw-unicode-escape codec, but this only escapes non-Latin-1 characters and allows non-ASCII Latin-1 character to pass through. Not sure what to do about this: we can't change the protocol anymore and all higher protocol levels are binary already. Perhaps we just need to remove the ASCII note from the documentation altogether and only leave the "human readbable form" comment ?! __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2980> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com