[Python-checkins] r81225 - in python/branches/release26-maint: Lib/test/list_tests.py

Nick Coghlan ncoghlan at gmail.com
Sun May 16 23:59:54 CEST 2010


Brett Cannon wrote:
> My mistake. Sorry about that. Have not written that try/finally
> pattern in a while. =)

Making it easier to avoid that particular mistake (and the equivalent
for thread lock acquisition) was one of the motivations behind the with
statement in the first place, so I tend to remember it :)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------


More information about the Python-checkins mailing list