On Wed, Aug 3, 2016 at 10:41 PM, Martin Panter <vadmium...@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. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com