[Python-3000] PyException_Set{Traceback,Cause,Context}

Antoine Pitrou solipsis at pitrou.net
Sun Jun 22 22:25:06 CEST 2008


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.




More information about the Python-3000 mailing list