building release - assert-free python library

Aahz aahz at
Fri Apr 10 06:07:04 CEST 2009

In article <121dcfb3-1ffe-40bf-b6dc-d2bacc073c3f at>,
grbgooglefan  <ganeshborse at> wrote:
>How can I build a release and not the debug version of libpython.a?
>I have seen that there are assert, abort statements in lot many
>functions in Python code. I would like to avoid those when compiling
>the libpython.a library because when this libpython gets used for
>production purpose and it aborts, the application goes down without
>any means of graceful handling that error condition.
>How can we handle this?

Are you talking about Python source code or C source code?
Aahz (aahz at           <*>

Why is this newsgroup different from all other newsgroups?

More information about the Python-list mailing list