Antoine Pitrou wrote:
what is the reason for PyException_Set{Traceback,Cause,Context} not to INCREF their argument?
Probably because the vast majority of the time the caller is not doing anything further with these references, so this arrangement saves some increfs and decrefs. -- Greg _______________________________________________ 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