Charles-François Natali <neolo...@free.fr> added the comment: > Probably. OTOH, not setting the error state when returning NULL is > usually an error (and can result in difficult-to-debug problems), so > let's stay on the safe side.
> RuntimeError perhaps. OK, I'll update the patch accordingly. > Does that mean that an application will see a Python exception? No, the finalization code explicitly clears any exception set. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13070> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com