Anyone tinkering with Python long enough has been bitten (or torn to pieces) by the following issue: def foo(a