Michael Foord <[email protected]> added the comment: I would prefer to try str(...) first and only attempt to convert to unicode and do the backslash replace if the str(...) call fails.
---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue8313> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
