>> I actually disagree with that. It is fairly easy to include non-ASCII >> characters in a raw Unicode string - just type them in. > > That violates the convention used in many places that source code > should only contain printable ASCII, and all non-ASCII or unprintable > characters should be written using \x or \u escapes.
Following that convention: How do you get a non-ASCII byte into a raw byte string in Python 2.x? You can't - so why should you be able to get a non-ASCII character into a raw Unicode string? Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com