On Thu, Aug 20, 2020 at 02:58:28PM -0400, Todd wrote: > If xarray supports keyword arguments, this would assign to the > corresponding values. If it didn't, it would create a new element of the > Dataset containing "y[a=2, b=3]". But "y" would continue working as it > would, only with different values than expected.
Thanks Todd, that's an excellent example of how an unexpected change could lead to code doing the wrong thing instead of a nice, easy to diagnose exception. -- Steve _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/SJN6MYLGXJTCLKVRZITY4GQJYAP5X3HD/ Code of Conduct: http://python.org/psf/codeofconduct/
