Serhiy Storchaka <> added the comment:

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 

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.


Python tracker <>
Python-bugs-list mailing list

Reply via email to