[Python-Dev] More flexible namespaces.

David Ascher da at ski.org
Fri Apr 30 05:21:04 CEST 1999


> > To cut a long story short, I would like eval and exec to be capable of
> > working with arbitrary mapping objects rather than only dictionaries.  The
> > general idea is that I can provide a class with mapping semantics, and pass
> > this to exec/eval.
> 
> I agree that this would be seriously cool.  It will definitely be in
> Python 2.0; it's already in JPython.

Seriously cool is an understatement. 

--david





More information about the Python-Dev mailing list