Clarity vs. code reuse/generality

Alan G Isaac alan.isaac at
Fri Jul 3 13:50:23 EDT 2009

> In <mGo3m.591$P5.76 at> Alan G Isaac <alan.isaac at> writes:
>> 1. Don't use assertions to test argument values!

On 7/3/2009 12:19 PM kj apparently wrote:
> Out of curiosity, where does this come from?
"The current code generator emits no code for an assert statement when optimization is requested at compile time."

Alan Isaac

More information about the Python-list mailing list