A "scopeguard" for Python
robert.kern at gmail.com
Fri Mar 5 04:35:13 CET 2010
On 2010-03-04 15:12 , Mike Kent wrote:
> On Mar 4, 12:30 pm, Robert Kern<robert.k... at gmail.com> wrote:
>> He's ignorant of the use cases of the with: statement, true.
> <humor> Ouch! Ignorant of the use cases of the with statement, am I?
> Odd, I use it all the time.</humor>
No, I was referring to Jean-Michel, who was not familiar with the with: statement.
>> Given only your
>> example of the with: statement, it is hard to fault him for thinking that try:
>> finally: wouldn't suffice.
> <humor> Damn me with faint praise, will you?</humor>
Also talking about Jean-Michel. :-)
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list