Message 169898 - Python tracker (original) (raw)

No, you're assuming global program analysis and that is not a valid assumption.

One of the key features of Python is that monkeypatching works. It's not encouraged, but it works.

You simply cannot play games with name lookups like this without creating something that is no longer Python.