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

Steven D'Aprano steve at pearwood.info
Wed Oct 16 02:22:31 CEST 2013


On Wed, Oct 16, 2013 at 09:24:11AM +1000, Nick Coghlan wrote:

> Even though it eventually
> convinced me to change the name, this thread still epitomises everything
> that sucks about soul destroying, energy draining bikeshed painting that
> makes me wonder why I ever bother trying to make anything better.

I feel your pain, I truly do, but I think the name you ended up with is 
much better than "ignore(d)". Given that naming things is one of the two 
hard problems of computer science[1], I think that a bit of pain to get 
the name just right is worth it.

(You did decide on "suppress", right? I must admit I've only skimmed 
this thread.)

In any case, thank you for seeing this through.



[1] The other is cache invalidation.


-- 
Steven


More information about the Python-Dev mailing list