Chris Withers writes:

 > > How can you be certain that any string is UTF-8 when doing any
 > > reasonable IO?
 > 
 > Careful checking, and a knowledge for people working on the app's 
 > development that anything else will result in severe pain, both physical 
 > and mental ;-)

If you're *that* careful, the additional effort to hack around this is
negligible. The problem is that most people are *never* that careful,
and *all* people are rarely that careful.

I understand your use case, but I don't see a case for exposing this
to the general public.
_______________________________________________
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

Reply via email to