Guillaume Lebourgeois added the comment: My fault, bad paste. Should have written :
>>> content = b'+1911\' rel=\'stylesheet\' type=\'text/css\' />\n<link >>> rel="alternate" type="application/rss+xml' >>> codecs.utf_7_decode(content, "replace", True) Traceback (most recent call last): File "<stdin>", line 1, in <module> SystemError: invalid maximum character passed to PyUnicode_New ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19279> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com