On Sat, Apr 22, 2023 at 10:06 AM Damian Cross <damnedbo...@gmail.com> wrote:

> That would have the effect that every use of str.format for everyone would
> start producing partially-formatted strings if an argument is accidentally
> omitted instead of raising an error. Some people might not like that.
> _______________________________________________
>
If that is all there is for a downside, this is actually quite weak. You
just changed my mind to +1  on the proposal.

Worst case scenario, one goes from one non-running program to a running
program producing partially incorrect output. Any legacy code that was not
working in the first place, is obviously, clearly, not critical for anyone,
otherwise it would have been fixed already.

We can't stal all augmenting to language functionalities because  "some is
used with the fact writing incorrect code in this way used to produce an
error before".  Ultimately, by this logic, it would be impossible to add
even any new keyword only parameters to any stdlib call, because  "there
might be some code out there using this parameter, and that used to raise
an error"
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/TULTZSF4M5E3AU5MPNMIGSKIKDSF36RR/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to