/python: Raising a exception from boost

Kerim Borchaev ( WarKiD ) warkid at storm.ru
Thu Sep 27 09:26:04 EDT 2001


Is there a way to raise a python exception from a "boosted" extension?
Because when I do something like this :

throw PyExc_AttributeError

boost handles it and re-throws as "RuntimeError: unidentifiable C++
exception".

Best regards,
 Kerim                          mailto:warkid at storm.ru






More information about the Python-list mailing list