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 ncoghlan
Recipients SilentGhost, Tim.Graham, brett.cannon, eric.snow, larry, ncoghlan, ned.deily, python-dev, r.david.murray, ryan.petrello, serhiy.storchaka, yselivanov
Date 2017-11-30.12:53:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512046425.14.0.213398074469.issue27172@psf.upfronthosting.co.za>
In-reply-to
Content
I'll also note that one possible alternative would be to accept Ryan's original proposal, which was to make "skip_bound_arg=False" part of the public API for `inspect.Signature.from_callable`.

Keeping `getfullargspec` around (but discouraged for new code), seems nicer to me than doing that, though, since the *only* use case we're aware of for that behaviour toggle is to be able to emulate inspect.getfullargspec() atop inspect.Signature().

TOOWTDI simply doesn't strike me as a good enough reason to break working code in this case - there *is* an obvious way for new code (inspect.signature), and there are plenty of other standard library APIs that we keep around primarily for backwards compatibility reasons, even though we don't necessarily recommend using them any more.
History
Date User Action Args
2017-11-30 12:53:45ncoghlansetrecipients: + ncoghlan, brett.cannon, larry, ned.deily, r.david.murray, SilentGhost, python-dev, eric.snow, serhiy.storchaka, yselivanov, Tim.Graham, ryan.petrello
2017-11-30 12:53:45ncoghlansetmessageid: <1512046425.14.0.213398074469.issue27172@psf.upfronthosting.co.za>
2017-11-30 12:53:45ncoghlanlinkissue27172 messages
2017-11-30 12:53:45ncoghlancreate