Re: [Python-Dev] cpython: Rename contextlib.ignored() to contextlib.ignore().

2013年10月11日 10:59:00 -0700

On 2013年10月11日 20:32:45 +0300, Serhiy Storchaka <[email protected]> 
wrote:
> 11.10.13 10:24, Antoine Pitrou Ð1⁄2апР̧саÐ2(ла):
> > Ezio was -1 on the tracker, and Eric Smith was -0. I'd like to add my
> > -1 too. This is a useless addition (the traditional idiom is perfectly
> > obvious) and makes reading foreign code more tedious by adding
> > superfluous API calls.
> 
> I am -1 too. But I want to hear more about interact with ExitStack (note 
> that ExitStack itself is not widely used in the stdlib).
I'm inclined to be -1 as well, because of the anti-pattern
encouragement. It seems at first blush like using it with ExitStack
would make that tendency worse, so I too would like to hear more about
Nick's thoughts on the subject.
--David
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to