From: Thomas K. <th...@kl...> - 2013-12-06 19:27:32
|
On 6 December 2013 10:37, Joel B. Mohler <jm...@ga...> wrote: > It seems to me that this changeset needs to be rolled back, but I don't > clearly see the problem that it was intended to fix. > I assume that someone wanted to work with the arguments as text (i.e. unicode) strings. A robust way to do this would be something like the str_to_unicode function we have in IPython - it's a no-op on Python 3, and does a robust decode (using errors='replace') on Python 2. Thomas |