[issue17710] SystemError in cPickle for incorrect input

Alexandre Vassalotti report at bugs.python.org
Sat Apr 13 22:17:54 CEST 2013


Alexandre Vassalotti added the comment:

I also wrote a patch for this. I took I slightly different approach though. I fixed the C implementation to be more strict on the quoting. Currently, it strips trailing non-printable characters, something pickle.py doesn't do.

I also cleaned up the tests to check this behavior.

----------
Added file: http://bugs.python.org/file29824/fix_quoted_string_python3.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17710>
_______________________________________


More information about the Python-bugs-list mailing list