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 ncoghlan, petr.viktorin, yselivanov
Date 2015-05-28.01:37:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432777064.46.0.142663877212.issue24298@psf.upfronthosting.co.za>
In-reply-to
Content
> I'm OK with the patch as is, but I'm definitely concerned about the maintainability of inspect.signature in general.

I agree, _signature_from_callable is getting quite complex.  The good news is that we have a very good test coverage for signatures.

As for a big block comment -- it might be useful.  OTOH the code of _signature_from_callable is mostly if..else statements with calls to helpers and recursion.
History
Date User Action Args
2015-05-28 01:37:44yselivanovsetrecipients: + yselivanov, ncoghlan, petr.viktorin
2015-05-28 01:37:44yselivanovsetmessageid: <1432777064.46.0.142663877212.issue24298@psf.upfronthosting.co.za>
2015-05-28 01:37:44yselivanovlinkissue24298 messages
2015-05-28 01:37:44yselivanovcreate