Geoff wrote:

>I would propose using "hasattr" to check for the existence of awake,
>respond, and sleep, and removing the assert statement.  The RuntimeError
>that results could have a much better error message than the assert would
>give us, anyhow.

I think this is a tidier solution that also removes the need for yet
another configuration setting.

Anyway, code should be written to run correctly without assert statements
given that they are removed on an optimized compilation.

...Edmund.


_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to