Nadeem Vawda added the comment:

I've reviewed the patch and posted some comments on Rietveld.


> I doubt about backward compatibility. It's obvious that struct.error and 
> TypeError are unintentional, and EOFError is purposed for this case. However 
> users can catch undocumented but de facto exceptions and doesn't expect 
> EOFError.

I think it's fine for us to change it to raise EOFError in these cases.

----------

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

Reply via email to