[issue47135] Allow decimal.localcontext to accept keyword arguments to set context attributes

Nick Coghlan report at bugs.python.org
Wed Mar 30 10:36:28 EDT 2022


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Seems reasonable to me, but I think a full implementation would want to throw an error for keyword args that don't already exist as context attributes (otherwise typos would fail silently)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47135>
_______________________________________


More information about the Python-bugs-list mailing list