On Mon, 03 Feb 2014 16:10:03 +0000 Phil Thompson <p...@riverbankcomputing.com> wrote: > > Why is a Latin-1 string considered inconsistent just because it doesn't > happen to contain any characters in the range 128-255?
Because as Victor said, it allows for some optimization shortcuts (e.g. a non-ASCII latin1 string cannot be equal to an ASCII string - no need for a memcmp). Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com