Since I was already wrapping stdout and stderr with code to handle Unicode, I just added a try/pass to the print statement, and that seems to have done the trick.
I might use the DEBUG import on a later update. It would probably speed things up to a small extent.
|