Message393680
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. |
|
Date |
User |
Action |
Args |
2021-05-14 17:47:35 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, vstinner, taleinat, eric.smith, zach.ware, iritkatriel |
2021-05-14 17:47:35 | serhiy.storchaka | set | messageid: <1621014455.44.0.294322851063.issue44123@roundup.psfhosted.org> |
2021-05-14 17:47:35 | serhiy.storchaka | link | issue44123 messages |
2021-05-14 17:47:35 | serhiy.storchaka | create | |
|