[Python-Dev] cpython: Rename contextlib.ignored() to contextlib.ignore(). (original) (raw)
Raymond Hettinger raymond.hettinger at gmail.com
Sun Oct 13 00:27:33 CEST 2013
- Previous message: [Python-Dev] cpython: Rename contextlib.ignored() to contextlib.ignore().
- Next message: [Python-Dev] cpython: Rename contextlib.ignored() to contextlib.ignore().
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Oct 12, 2013, at 1:41 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
. breakon reads just fine to me, although leaveon is probably better.
Sorry, these are both really bad.
I've user tested ignore() and had good results. It makes the intention of the code very clear.
When you ask someone to describe what "try: f() except SomeException: pass" does, they will say that it ignores the exception.
FWIW, I presented this to 2500+ people in the keynote at the 2013 U.S. Pycon and have received favorable feedback.
Please don't join Antoine's opposition to my every contribution. The incessant sniping is demoralizing. The module maintainer (Nick) approved the name change from his original preference for ignored(). That should had been the end of it. Now, this thread has 40+ emails and it will probably go on for days.
Raymond
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20131012/88cf20dd/attachment.html>
- Previous message: [Python-Dev] cpython: Rename contextlib.ignored() to contextlib.ignore().
- Next message: [Python-Dev] cpython: Rename contextlib.ignored() to contextlib.ignore().
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]