[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-bugs-list
Subject:    [issue7606] test_xmlrpc fails with non-ascii path
From:       STINNER Victor <report () bugs ! python ! org>
Date:       2010-01-31 2:39:28
Message-ID: 1264905568.85.0.674534112129.issue7606 () psf ! upfronthosting ! co ! za
[Download RAW message or body]


STINNER Victor <victor.stinner@haypocalc.com> added the comment:

pitrou> If it's only about transmitting the string representation of the
pitrou> traceback, perhaps we can simply use "replace" or "ignore" as the error
pitrou> handler?

Both replace and ignore loose information. My patch keeps all information by using \
backslashreplace. It's consistent with Python behaviour: Python writes a backtrace to \
stderr which uses also the backslashreplace error handler.

----------

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue7606>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/python-bugs-list%40marc.info



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic