
Aug. 4, 2016
5:12 p.m.
On Wed, Aug 3, 2016 at 10:41 PM, Martin Panter <vadmium+py@gmail.com> wrote:
If replace() actually supported these keywords all along, then I am happy with this proposal.
With the obvious exception of "fold", it did at least since Python 3.0 (and likely since 2.x where x is 5 ± 1.)
There are a few bug reports that may be relevant:
https://bugs.python.org/issue13386: notation where there is no simple default value https://bugs.python.org/issue23738: notation for defaults for positional-only parameters
Thanks. These are helpful, but they don't address the case in hand where the member function defaults are taken from the other attributes.