[C++-sig] CallPolicies postcall not being called when an exception's raised?
Niall Douglas
s_sourceforge at nedprod.com
Fri Feb 10 02:36:39 CET 2006
On 9 Feb 2006 at 11:11, Nick Rasmussen wrote:
> But as the postcall of a policy is skipped if an exception is thrown, we're
> potentially leaving the FPE->exception translation on. My question is:
>
> Is there a better way to hook this?
You may find the hacks done to BPL to support locking and unlocking
the python GIL around entrances and exits from Python at
http://svn.berlios.de/viewcvs/tnfox/trunk/Python/BoostPatches.zip?rev=
607&view=log useful. Just compare the files.
Cheers,
Niall
More information about the Cplusplus-sig
mailing list