[Python-Dev] Extended Function syntax

Brett Cannon bac@OCF.Berkeley.EDU
Sun, 2 Feb 2003 14:19:36 -0800 (PST)


[Brett Cannon]

> ... (would this still be called a thunk, or just syntactic sugar for
> calling ``__exit__()`` and ``__enter__()``; more like a thunk-ish
> protocol?)...

Nevermind on this question.  Paul's email referring to this as
"acquire/release" clarified it.

Sounds like you are almost fishing in a catch/release stream.  That's it!
This is the "fishy" protocol (OK, corny joke, but I just had to make it
=)!

-Brett