[issue17710] SystemError in cPickle for incorrect input

Antoine Pitrou report at bugs.python.org
Sat Apr 13 22:20:36 CEST 2013


Antoine Pitrou added the comment:

Alexandre, I don't like your patch very much:
- you are changing the exception from ValueError to UnpicklingError (which doesn't derive from ValueError) in a bugfix release
- you aren't actually adding any guards in the C code, so it's not demonstrably more robust

----------

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


More information about the Python-bugs-list mailing list