Ralf Schmitt added the comment:

The return value should be -1 in case of errors. There's also a second
code path swallowing all errors.
I've converted brian's test.py to a unit test testing both code paths
and added an updated patch for this one.
This patch is against trunk.
All tests in Lib/test/test_isinstance.py pass.

----------
nosy: +schmir
versions: +Python 2.6
Added file: http://bugs.python.org/file9132/issue1574217_dont_mask_errors.txt

_____________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1574217>
_____________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to