A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-May/053807.html below:

[Python-Dev] PEP 340 keyword: after

[Python-Dev] PEP 340 keyword: after [Python-Dev] PEP 340 keyword: afterChristos Georgiou tzot at mediconsa.com
Mon May 16 01:40:11 CEST 2005
"Chris Ryland" <cpr at emsoftware.com> wrote in message 
news:loom.20050505T164909-961 at post.gmane.org...

> I hate to add to what could be an endless discussion, but... ;-)
>
> In this case, "while" is the better time-related prefix, whether
> keyword (hopeless, due to ages-old boolean-controlled loop association)
> or function, since you want to imply that the code block is going
> on *while* the lock is held or *while* the file is open (and you also
> want to imply that afterwards, something else happens, i.e., cleanup).
>
> while_locked(myLock):
>    # code that needs to hold the lock

Ah.  You mean 'during' :) 


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