This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author meador.inge
Recipients amaury.forgeotdarc, belopolsky, brian.curtin, eric.araujo, kumma, meador.inge
Date 2011-04-17.00:13:54
SpamBayes Score 4.8477796e-05
Marked as misclassified No
Message-id <1302999235.72.0.0674924059336.issue9041@psf.upfronthosting.co.za>
In-reply-to
Content
This problem still occurs in the main development branch.  I think the 
'PyErr_ExceptionMatches' check that Pauli suggested will work.  The same 
problem exist for 'c_float', 'c_double', and 'c_longdouble'.

Attached is a patch that fixes the issue and includes covering tests.
Tested on OS X 10.6.5.
History
Date User Action Args
2011-04-17 00:13:55meador.ingesetrecipients: + meador.inge, amaury.forgeotdarc, belopolsky, eric.araujo, brian.curtin, kumma
2011-04-17 00:13:55meador.ingesetmessageid: <1302999235.72.0.0674924059336.issue9041@psf.upfronthosting.co.za>
2011-04-17 00:13:55meador.ingelinkissue9041 messages
2011-04-17 00:13:55meador.ingecreate