Antoine Pitrou added the comment: Hmm, forget what I just said. A SystemError can actually be triggered through a slightly longer line:
$ ./python -c "import pickle; print (repr(pickle.loads(b\"S' \np0\n.\")))" Traceback (most recent call last): File "<string>", line 1, in <module> SystemError: Negative size passed to PyBytes_FromStringAndSize ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17710> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com