Thursday, July 14, 2016¶
While repairing test suites, I discovered yet another encoding problem
introduced some days ago: Under Python 2, if the output contains
non-asci chars, then we must yes decode it before wrapping it into our
msg, but later we must re-encode it because exceptions, in Python 2,
don’t want unicode strings.
I also added two command-line options to my pp command. Sometimes I want to run e.g.:
$ pp -s noi inv test