[issue24190] BoundArguments facility to inject defaults

Yury Selivanov report at bugs.python.org
Thu May 14 17:45:40 CEST 2015


Yury Selivanov added the comment:

Well, the docs example only binds explicit defaults in function signature.  Implicit defaults for *args and **kwargs (`()` and `{}`) aren't usually useful (in my opinion).

Do you guys have any good use case for such method?  I use the Signature API extensively for argument types validation and for serialization of RPC calls, but I never needed this functionality from BoundArguments.

----------
nosy: +brett.cannon, larry

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24190>
_______________________________________


More information about the Python-bugs-list mailing list