homepage

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 <1335026992.85.0.592858091004.issue14634@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
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: <1335026992.85.0.592858091004.issue14634@psf.upfronthosting.co.za>
2012年04月21日 16:49:52michael.foordlinkissue14634 messages
2012年04月21日 16:49:52michael.foordcreate

AltStyle によって変換されたページ (->オリジナル) /