A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2005-July/054567.html below:

[Python-Dev] Terminology for PEP 343

[Python-Dev] Terminology for PEP 343Raymond Hettinger python at rcn.com
Sat Jul 2 00:52:15 CEST 2005
> I would use "She left the ballpark." for someone walking into the
> dugout, climbing up into the stands, or walking out of the stadium,
> and might refer to the entire process. Using "She exited the
ballpark."
> to me suggests the exact moment that she went through the door
> dividing outside from inside. If you accept this connotation, then
> it's clear that "exit" is a closer match for the with statement's
> behavior than "leave".
> 
> Anyway, this stuff is always very subjective and, as I said, I'm just
> expressing an opinion. So take it for what it's worth.

Hmm, that got me to thinking a bit more.  Here's another subjective two
cents worth.  "exit" seems to be a more global concept and "leave" seems
more local.  For instance, I leave a room but exit a building.  In
Python, sys.exit and os._exit are grand exits rather than local exits
for functions or modules.


Raymond
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4