A "scopeguard" for Python

Jean-Michel Pichavant jeanmichel at sequans.com
Fri Mar 5 13:20:04 CET 2010


Robert Kern wrote:
> 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 confirm, I am the ignoramus (what a strange word) in this story :-)

JM



More information about the Python-list mailing list