[Python-3000] how should we handle changes to the C API?
"Martin v. Löwis"
martin at v.loewis.de
Mon Feb 12 07:55:39 CET 2007
Brett Cannon schrieb:
> Right, but I wanted to be able to raise a warning. If that warning is
> supposed to be treated as an exception the caller needs to let that
> propagate. RIght now PyErr_GivenExceptionMatches() can in no way let
> the caller know that fact
I'm unclear why you want to warn in PyErr_GivenExceptionMatches:
shouldn't you rather warn when the exception is raised?
Regards,
Martin
More information about the Python-3000
mailing list