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 bup
Recipients bup
Date 2018-10-08.01:53:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538963631.37.0.545547206417.issue34924@psf.upfronthosting.co.za>
In-reply-to
Content
I actually noticed this due to it confusingly breaking IDLE call tips and code completion.

>>> import inspect
>>> from types import MethodType

>>> bound_len = MethodType(len, 'abc')
>>> bound_len()
3

>>> inspect.signature(bound_len)
<Signature ()>

>>> inspect.signature(len)
<Signature (obj, /)>
History
Date User Action Args
2018-10-08 01:53:51bupsetrecipients: + bup
2018-10-08 01:53:51bupsetmessageid: <1538963631.37.0.545547206417.issue34924@psf.upfronthosting.co.za>
2018-10-08 01:53:51buplinkissue34924 messages
2018-10-08 01:53:50bupcreate