[Python-3000] self-contained exceptions

Nick Coghlan ncoghlan at gmail.com
Fri Jan 12 10:43:13 CET 2007


Phillip J. Eby wrote:
> At 12:37 AM 1/12/2007 +1000, Nick Coghlan wrote:
>> ...a utility which is also known as contextlib.nested().
>>
>> For some strange reason, I suspect you're familiar with that 
>> particular context manager ;)
> 
> Not that I recall, no, otherwise I'd have used the name.  I thought 
> there was such a thing in the PEP, but didn't know it had gotten in the 
> stdlib (which of course is an even better reason to keep tuple 
> assignment in the "with" statement).

I thought you added that module, but svn tells me it was actually Guido. 
   It appears I got mixed up between the initial checkins and your later 
edits to improve contextlib.contextmanager. Sorry for the noise :)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-3000 mailing list