Implements proposal in #12948.
Progress:
- method implementation;
- functional test.
Concept ACK
I don't think it's very useful to open a PR before you have an implementation.
If you have design questions that need to be solved first, you can open an issue, or comment on the existing one.
I agree with @sipa. Pull requests are meant for code that's ready for review, they are not meant to be placeholders/a way to indicate you are working on something.
If you want to discuss technical approach/design, please do so in #12948. Then, once you have some code ready for review, please open a PR.
~Can this be reopened for review now? Tests are still missing but a straightforward implementation is ready.~ Edit: nevermind, I amended to the base branch commit and broke the tracking, so I'll just reopen myself.