Brett Cannon schrieb: > My specific need is that PyErr_GivenExceptionMatches() does not have > an exception return value. This sucks for me in 2.6 for deprecating > catching string exceptions, but it sucks more in 3.0 since only > subclasses of BaseException can be raised. But not allowing -1 to > represent that an error occurred is a pain for anyone who wants to > properly use the function.
I don't understand what exceptional value you are talking about. If the given object cannot be an exception, it clearly doesn't match, so the outcome should be zero (not an error). Regards, Martin _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
