On Sat, 02 Oct 2010 22:14:28 +0200 Jesus Cea <j...@jcea.es> wrote: > > My idea is to convert the CObject exception in bsddb to print a warning > like "CObject creation failed. The bsddb.cAPI will be not available. > Reason is: XXXX". > > Is there a "canonical way" of doing this?. Sorry if the answer is trivial...
Try PyErr_WriteUnraisable(). Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com