R. David Murray <[email protected]> added the comment: The 'str' around get_param shouldn't be there, that was left over from an earlier version of the patch.
I use surrogateescape rather than latin1 because using surrogateescape with ascii encoding gives me a reliable way to know whether or not the original source was bytes containing non-ascii chars. (If it was bytes containing only ascii chars, then it doesn't matter what the original source was.) ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue4661> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
