Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] Where to put the interrupt module?

Guido van Rossumguido@python.org
Fri, 13 Jun 2003 11:08:25 -0400


> Part of the idea (or at least my idea) behind adding the do/with> statement which was discussed a while ago was to fix this problem.>>         with lock:>             ... critical section ...>> would ensure that lock.release() is called properly.Right.  That was also my idea (I think many people've had this idea:-).  It has the advantage of being more generally useful than addingan initially clause to the try/finally statement.--Guido van Rossum (home page:http://www.python.org/~guido/)


[8]ページ先頭

©2009-2026 Movatter.jp