Collin Winter wrote:
> On 2/10/07, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
>> My thought is, 2.6 would pass all three arguments, 3.0 just one.
> 
> My only concern was that keeping the three-argument signature means
> one less thing to change when transitioning to 3.0. Anyone really
> concerned about their context managers working in 2.6 and 3.0 could
> just use a decorator to ensure compatibility, though, so count me in.

A lot of context managers will also adjust automatically when 
contextlib.contextmanager is updated to handle the change.

Cheers,
Nick.

-- 
Nick Coghlan   |   [EMAIL PROTECTED]   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to