This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sam_ezeh
Recipients corona10, ncoghlan, sam_ezeh, steven.daprano
Date 2022-04-01.18:59:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm looking into adding this

> 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)

For _pydecimal, I think this would automatically happen automatically as Context.__setattr__ raises AttributeError when it's passed a name that isn't a context attribute.

For _decimal this can be done with keyword arguments and `PyArg_ParseTupleAndKeywords`.
Date User Action Args
2022-04-01 18:59:49sam_ezehsetrecipients: + sam_ezeh, ncoghlan, steven.daprano, corona10
2022-04-01 18:59:49sam_ezehsetmessageid: <>
2022-04-01 18:59:49sam_ezehlinkissue47135 messages
2022-04-01 18:59:49sam_ezehcreate