ctypes: catch system exit from C library

Grant Edwards invalid at invalid.invalid
Thu Nov 3 10:16:50 EDT 2011


On 2011-11-03, Ulrich Eckhardt <ulrich.eckhardt at dominolaser.com> wrote:
> Am 03.11.2011 11:07, schrieb Martin Landa:
>> in my python application I am calling functions from a C library via
>> `ctypes` interface. Some fns from that C library calls `exit()` on
>> error.
>
> Just curious, which library is that?

And who should we have thrashed and pilloried for writing it that way?

-- 
Grant Edwards               grant.b.edwards        Yow! BARRY ... That was
                                  at               the most HEART-WARMING
                              gmail.com            rendition of "I DID IT MY
                                                   WAY" I've ever heard!!



More information about the Python-list mailing list