[Dev] Dabo, Wax, others?

Brendan O'Connor brendano at osafoundation.org
Sat Sep 17 12:13:46 PDT 2005


On 9/17/05, John Anderson <john at osafoundation.org> wrote:
> 
> Adding library asserts, python asserts and talkback to release is
> equivalent to adding talkback to debug.
> 
> Always running the debug version doesn't makes sense for performance
> reasons.


Another option: give the end-user release python asserts but NOT library 
asserts. Running without C++ debug libraries but with python asserts has 
just fine performance -- that's what I always did when developing python 
parts of chandler. (knock off the -O inside release/RunChandler and 
RunPython). An end-user release configured like that would get lots of 
useful crash info, though not for everything.

Unless it's the case that python -O actually optimizes... I was under the 
impression that the main thing it did was turn off asserts.

Brendan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/dev/attachments/20050917/f12e7d1f/attachment.html


More information about the Dev mailing list