Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
bpo-38291: Fix a spurious warning when using help(object)#27039
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
help(object) via pydoc.TextDoc.docclass(object) iterates over thesubclasses of object, which includes typing.io and typing.re if typingis imported. It tries to access cls.__module__ for each of thosesub-classes. This change suppresses warnings when accessingcls.__module__.
This should not need a NEWS entry per:
|
The Azure build failure seems unrelated. |
Uh oh!
There was an error while loading.Please reload this page.
@srittau: Status check is done, and it's a success ❌ . |
This time, Azure passes, but the address sanitizer(?) test times out. Looks like an unrelated multiprocessing error, possibly a race condition. |
Alas, we have to close and reopen the PR to make the last test pass (hopefully), GitHub won't let me merge without that. |
@srittau: Status check is done, and it's a success ❌ . |
2 similar comments
@srittau: Status check is done, and it's a success ❌ . |
@srittau: Status check is done, and it's a success ❌ . |
bedevere-bot commentedJul 6, 2021
@gvanrossum: Please replace |
Is a backport needed? |
srittau commentedJul 6, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Thanks and no backport needed, the original change is just in the 3.11 |
Uh oh!
There was an error while loading.Please reload this page.
https://bugs.python.org/issue38291
Automerge-Triggered-By: GH:gvanrossum