Stefan Pochmann <stefan.pochm...@gmail.com> added the comment:
The error occurs when you do code.strip()[0] when code is " ", not "u2". ---------- nosy: +Stefan Pochmann _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46302> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com