Meador Inge <[email protected]> added the comment: 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. ---------- assignee: theller -> keywords: +patch nosy: +amaury.forgeotdarc, belopolsky, meador.inge -theller stage: -> patch review versions: +Python 3.3 -Python 2.6 Added file: http://bugs.python.org/file21690/issue9041.patch _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue9041> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
