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

2013年10月13日 16:29:06 -0700

On 10/12/2013 11:57 PM, Nick Coghlan wrote:
For the record, this thread did prompt me to consider the new construct anew, but on reflection, I still consider it a reasonable addition to contextlib. It substantially improves the simple cases it is intended to help with, and, if anything, makes overly broad exception suppression *more* obviously dubious (because the name of the construct doesn't match the consequences for multi-line suites).
For the record, the logic in the last paragraph is the most dubious thing I've ever seen you post.
_______________________________________________
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