On 12/01/2013 04:55 PM, Ron Adam wrote: > > Isn't __debug__ set at Python's compile time, not module compile time? No. __debug__ is true when Python [1] is started normally, and False when started with -O or -OO. -- ~Ethan~ [1] Cpython to be specific; and there may be other flags that affect __debug__.