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 chrisjbremner
Recipients chrisjbremner
Date 2018-10-09.18:13:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Looking in the documentation for inspect.getcallargs (, it appears that inspect.getcallargs is deprecated in favor of inspect.Signature.bind and inspect.Signature.bind_partial.

However, when I use inspect.getcallargs, I do not get a DeprecationWarning, while I do get one for other methods that have been deprecated in the inspect library.

Because a warning is not issued when inspect.getcallargs is used, it confuses me as to whether this method is actually deprecated or not, since there seems to be a lot of discussion in previous issues about whether this method should be deprecated or not. If it is truly deprecated, should a DeprecationWarning be added?

For my situation, I would prefer to use inspect.getcallargs due to its more descriptive error messages when incorrect arguments are used, but if it truly is deprecated, then I should use inspect.Signature.bind instead.
Date User Action Args
2018-10-09 18:13:59chrisjbremnersetrecipients: + chrisjbremner
2018-10-09 18:13:59chrisjbremnersetmessageid: <>
2018-10-09 18:13:59chrisjbremnerlinkissue34946 messages
2018-10-09 18:13:59chrisjbremnercreate