On Sun, Jul 03, 2005, Raymond Hettinger wrote: > [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".
How about "decimal.Context() objects are managed resources" or "...have guarded scopes"? (I'm not terribly wild about either, but they are fairly simple and direct.) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ f u cn rd ths, u cn gt a gd jb n nx prgrmmng. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com