watch this The wheels are turning, slowly turning. home
An Hour of My Life Wasted 2006-12-08
Python’s warnings module stashes internal state tracking information in a dictionary which it jams into the global scope of one of the functions on the stack at the time the warning is emitted.

Brilliant idea, guys.