[Python-Dev] Terminology for PEP 343

Raymond Hettinger python at rcn.com
Sun Jul 3 20:48:50 CEST 2005


[Michael Walter]
> How about simply "with block" or "guarded scope" or something like
that?

How would you use that to describe decimal.Context() objects after Nick
adds the __enter__ and __exit__ magic methods?  We want something as
direct as, "xrange objects are iterable".


Raymond


More information about the Python-Dev mailing list