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 michael.foord
Recipients ezio.melotti, michael.foord, r.david.murray
Date 2012-04-21.16:49:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This is non-trivial to fix. Although inspect.getfullargspec can be used, which does support keyword only arguments, inspect.formatargspec *doesn't* support them. (mock.create_autospec uses these to rebuild a compatible signature for generated mocks.)

The easiest route to fixing would be to extend formatargspec to optionally take extra arguments for kwonlyargs and kwonlydefaults.
Date User Action Args
2012-04-21 16:49:52michael.foordsetrecipients: + michael.foord, ezio.melotti, r.david.murray
2012-04-21 16:49:52michael.foordsetmessageid: <>
2012-04-21 16:49:52michael.foordlinkissue14634 messages
2012-04-21 16:49:52michael.foordcreate