Serhiy Storchaka added the comment:

Of course, UnpicklingError is not a bug. Perhaps almost any exception except 
SystemError is not a bug. I mention it because it's a case where Python 3 
differs from Python 2.

I think _pickle.c patches can be simplified.

+    if (len < 2)
+        goto insecure;
     if (s[0] == '"' && s[len - 1] == '"') {

----------

_______________________________________
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

Reply via email to