Friday, December 8, 2006

An Hour of My Life Wasted

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.

No comments:

Post a Comment