Re: getattr from local scope



Alex Martelli wrote:
sys.modules[__name__].__dict__ may be more handily accessed by the
built-in function globals().

Well there you go. Glad it's not that awkward.
.