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 serhiy.storchaka
Recipients larry, serhiy.storchaka
Date 2014年01月07日.09:38:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389087519.42.0.859376106795.issue20161@psf.upfronthosting.co.za>
In-reply-to
Content
inspect.signature fails on some functions which use Argument Clinic. For example after applying issue20133 or issue20151 it fails for audioop.ratecv and binascii.a2b_qp.
>>> inspect.signature(audioop.ratecv)
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/home/serhiy/py/cpython/Lib/inspect.py", line 1468, in signature
 return Signature.from_builtin(obj)
 File "/home/serhiy/py/cpython/Lib/inspect.py", line 1989, in from_builtin
 p(name, default)
 File "/home/serhiy/py/cpython/Lib/inspect.py", line 1982, in p
 default = default.n
AttributeError: type object '_empty' has no attribute 'n'
History
Date User Action Args
2014年01月07日 09:38:39serhiy.storchakasetrecipients: + serhiy.storchaka, larry
2014年01月07日 09:38:39serhiy.storchakasetmessageid: <1389087519.42.0.859376106795.issue20161@psf.upfronthosting.co.za>
2014年01月07日 09:38:39serhiy.storchakalinkissue20161 messages
2014年01月07日 09:38:39serhiy.storchakacreate

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