[issue24145] Support |= for parameters in converters

Nick Coghlan report at bugs.python.org
Sat May 9 01:05:42 CEST 2015


Nick Coghlan added the comment:

Aye, it occurs to me now that introducing the implicit form trades a "write
time" lookup (where you have to override the converter defaults
explicitly), for a "read time" lookup (where you need to mentally add the
defaults to understand the modified accept clause)

As a result, I think "explicit is better than implicit" wins, at least for
now. If we decide after we have more experience that the repetition of the
defaults when overriding them really is a problem, then it's possible to
revisit that decision in the 3.6 time frame.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24145>
_______________________________________


More information about the Python-bugs-list mailing list