Audit tp_dealloc callbacks to make sure they preserve the exception state.
commit278b57d9f4a1aed4f0296b17a94bde2a36145a45
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 7 Feb 2007 13:15:17 +0000 (7 13:15 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 7 Feb 2007 13:15:17 +0000 (7 13:15 +0000)
treef997a4688c03e5bad002820b722f2e664c875e9b
parentffe3b55b4b293c5dfb36de8cf2dc2b91d09a9f0d
Audit tp_dealloc callbacks to make sure they preserve the exception state.
* Connection: use PyErr_Fetch and PyErr_Restore to preserve exception state
* MainLoop: add a comment indicating that the "free" callback needs to do the
  same if it might alter the exception state
_dbus_bindings/conn.c
_dbus_bindings/mainloop.c