On Sun, 09 Jun 2013 19:16:06 +1000, Cameron Simpson wrote:

> If he's lucky the UnicodeEncodeError occurred while trying to print an
> error message, 

That's not what happens at the interactive console:

py> assert os.path.exists('Ж1')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AssertionError


> printing a greek Unicode string in the error with ASCII
> as the output encoding (default when not a tty IIRC).


An interesting thought. How would we test that?



-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to