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 serhiy.storchaka
Recipients eric.smith, iritkatriel, rhettinger, serhiy.storchaka, taleinat, vstinner, zach.ware
Date 2021-05-14.17:47:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621014455.44.0.294322851063.issue44123@roundup.psfhosted.org>
In-reply-to
Content
Parameters are not passed to a function. Arguments are passed. And what you need is just to not pass to the wrapped function arguments which were not passed to wrapper. *args and **kwargs do not contain arguments which were not passed.

I understand that it would be pleasant to have better some singletons and sentinels (with better repr, and sometimes pickleable), but I don't think that the problem with pickling default values of function parameters even exists.
History
Date User Action Args
2021-05-14 17:47:35serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, vstinner, taleinat, eric.smith, zach.ware, iritkatriel
2021-05-14 17:47:35serhiy.storchakasetmessageid: <1621014455.44.0.294322851063.issue44123@roundup.psfhosted.org>
2021-05-14 17:47:35serhiy.storchakalinkissue44123 messages
2021-05-14 17:47:35serhiy.storchakacreate