Lenard Lindstrom <[EMAIL PROTECTED]>  wrote:
> I don't know if C asserts are active in release Python, but for 
> new-style classes one thing that happens during attribute lookup is that 
> an object's class is asserted to be an instance of type. 

Thank's for the explanation. My Linux distribution does not set NDEBUG
when compiling the python package so asserts are still in place.  A self
compiled python does not use the asserts and is 20% faster in my micro
benchmark.

    Mirko

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to