[Python-Dev] Terminology for PEP 343

Aahz aahz at pythoncraft.com
Sun Jul 3 15:23:24 CEST 2005


On Sun, Jul 03, 2005, Nick Coghlan wrote:
>
>   [...]
> Anyway, I stuck with 'exit' for this - I prefer slightly awkard 
> phrasing in the explanation to awkwardness in the pairing of the names.
> 
>   [...]
>    __exit__(exc_type, exc_value, exc_traceback):
>      Called as execution exits the contained suite. If the suite was 
> exited due to an exception, the details of that exception are passed 
> as arguments. Otherwise, all three arguments are set to None.

My take is that the primary awkwardness results from all the "ex":
"execution", "exits", "exception".  If we care, I guess "leave" is okay.

Nice work!
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

f u cn rd ths, u cn gt a gd jb n nx prgrmmng.


More information about the Python-Dev mailing list