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 terry.reedy
Recipients Claudiu.Popa, larry, michael.foord, ncoghlan, terry.reedy, yselivanov
Date 2014-01-19.10:33:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The relevant code in is
  argspec = ""
  if hasattr(ob, '__call__'):
    if isinstance(fob, (types.FunctionType, types.MethodType)):
      argspec = inspect.formatargspec(*inspect.getfullargspec(fob))

So I want to broaden the second condition (or remove it), but if it returns something .formatargspec cannot digest, the outer call will have to be conditioned. My impression is that str(signature object) returns pretty much what .formatargspec does, but I have not experimented yet.

My #20122 patch moves currently commented out tests in that use the above to I will commit as soon as I test on 3.4. Until then, getfullargspec is not being used in the Idle test suite.
Date User Action Args
2014-01-19 10:33:46terry.reedysetrecipients: + terry.reedy, ncoghlan, larry, michael.foord, Claudiu.Popa, yselivanov
2014-01-19 10:33:46terry.reedysetmessageid: <>
2014-01-19 10:33:46terry.reedylinkissue17481 messages
2014-01-19 10:33:46terry.reedycreate