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/2003-February/032917.html below:

[Python-Dev] exec/with thunk-handling proposal

[Python-Dev] exec/with thunk-handling proposal [Python-Dev] exec/with thunk-handling proposalGuido van Rossum guido@python.org
Tue, 04 Feb 2003 10:37:26 -0500
> > This made me realize something.  What happens if some sort of
> > exception is raised between 'f1 = open()' and the start of the
> > block 'with autoclose(f1):'?
> [...]
> > Please let me know what simple fact I'm missing.
> 
> Nothing much, other than the fact that this is an issue with the
> try...except form as well. Basically, this isn't a problem that
> the proposal is trying to solve.

Actually, I care about this race condition, and for certain situations
I plan to solve it by implementing a bit of magic in C.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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