Jack Diederich <jackd...@gmail.com> added the comment:

This seems to have been introduced in r72930 when the stackUnderflow()
was moved from the top of the function to the bottom.  It used to test
for len > 0.

Question, should cPickle and pickle be raising the same error here? 
UnpicklingError is defined in pickle.py and never used but cPickle.c
uses it frequently.

----------
nosy: +collinwinter, jackdied

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7455>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to