[issue9041] raised exception is misleading

Meador Inge report at bugs.python.org
Sun Apr 17 02:13:55 CEST 2011


Meador Inge <meadori at gmail.com> 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 <report at bugs.python.org>
<http://bugs.python.org/issue9041>
_______________________________________


More information about the Python-bugs-list mailing list