
16 Apr
2020
16 Apr
'20
4:11 p.m.
On 2020-04-16 11:43 a.m., Steven D'Aprano wrote:
On Thu, Apr 16, 2020 at 11:17:33AM -0300, Soni L. wrote:
what about a dict.setdefaults (note the s)
Do you have any idea of how much confusion and many silent errors will be caused by having methods setdefault and setdefaults on the same class?
we can't break setdefault (particularly for tuple keys), do you have a better idea?