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 yan12125
Recipients methane, vstinner, xtreak, yan12125
Date 2018-10-02.16:05:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538496335.19.0.545547206417.issue34871@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks very much for the test.bisect hint! After some more trials, I guess it's an issue in the `inspect` module rather than the newly-added test in test_site. Here's an example script:


import inspect
import sys
import _testcapi

builtin = _testcapi.docstring_with_signature_with_defaults
spec = inspect.getfullargspec(builtin)
print(type(sys.modules['__builtins__']))


After inspect.getfullargspec(), sys.modules['__builtins__'] is a dict. That's a little bit strange as every other item in sys.modules is a module.
History
Date User Action Args
2018-10-02 16:05:35yan12125setrecipients: + yan12125, vstinner, methane, xtreak
2018-10-02 16:05:35yan12125setmessageid: <1538496335.19.0.545547206417.issue34871@psf.upfronthosting.co.za>
2018-10-02 16:05:35yan12125linkissue34871 messages
2018-10-02 16:05:35yan12125create