Daniel Diniz <aja...@gmail.com> added the comment: Looks like both Undetected errors were corrected by Victor's patches, which Benjamin committed around rev66693, so trunk only needs a test. Here are the patches.
I think IndexError fits better (and matches trunk), as the issue is that None is passed as "offset", which should be an Integral. If you disagree, I'll modify the patch. Is PyErr_Format'ing the exception desired? BTW, there's a warning in _struct.c:180 -> warning: ‘get_ulong’ defined but not used, should I open a new issue? Added file: http://bugs.python.org/file13027/pynumber_assizet_py3k.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3694> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com