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 yselivanov
Recipients doerwalter, r.david.murray, yselivanov
Date 2014-12-04.22:05:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think we should just fix the documentation, and update the code in example with a proper check:

  for param in sig.parameters.values():
    if ( not in ba.arguments 
             and param.default is not param.empty):
       ba.arguments[] = param.default

I'm -1 on adding '_with_defaults' method, because usually you don't need this (at least in my experience).
Date User Action Args
2014-12-04 22:05:21yselivanovsetrecipients: + yselivanov, doerwalter, r.david.murray
2014-12-04 22:05:21yselivanovsetmessageid: <>
2014-12-04 22:05:21yselivanovlinkissue22998 messages
2014-12-04 22:05:21yselivanovcreate