Hi, I don't know who designed that API but what is the reason for PyException_Set{Traceback,Cause,Context} not to INCREF their argument? It means the caller has to do it himself, and seems inconsistent with most of Python's C API. Is it too late to change those functions to do the right thing?
Regards Antoine. _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com