[Python-Dev] Terminology for PEP 343 (original) (raw)

Michael Hudson mwh at python.net
Fri Jul 1 00:54:25 CEST 2005


"Raymond Hettinger" <raymond.hettinger at verizon.net> writes:

With 343 accepted, we can now add enter() and exit() methods to objects.

What term should describe those objects in the documentation?

Hmm, don't know.

I talked about an object 'that conformed to the with protocol' at EuroPython, which seems about right -- but is hardly an adjective!

Guard? Monitor? Don't really like either of these.

Cheers, mwh

-- my worst nightmares involve the alarm clock only ringing on mornings after I fall asleep on minutes ending in an even number -- from Twisted.Quotes



More information about the Python-Dev mailing list