Guido van Rossum added the comment: Thanks!
This patch looks fine, except the PyClear() call is unnecessary. I suppose you copied it from the similar return clauses further down, but there they clear an exception set by the _getbuffer() call. But just calling PyObject_IsInstance() cannot set an exception. Committed revision 58390. ---------- resolution: -> accepted status: open -> closed __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1249> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com