-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
inspect.getmembers
is not fully tested
#116789
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Mar 14, 2024
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Mar 14, 2024
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Mar 14, 2024
sobolevn
added a commit
that referenced
this issue
Aug 18, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 18, 2024
…6802) (cherry picked from commit c15bfa9) Co-authored-by: sobolevn <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 18, 2024
…6802) (cherry picked from commit c15bfa9) Co-authored-by: sobolevn <[email protected]>
This was referenced Aug 18, 2024
sobolevn
added a commit
that referenced
this issue
Aug 18, 2024
…#123130) gh-116789: Add more tests for `inspect.getmembers` (GH-116802) (cherry picked from commit c15bfa9) Co-authored-by: sobolevn <[email protected]>
jeremyhylton
pushed a commit
to jeremyhylton/cpython
that referenced
this issue
Aug 19, 2024
blhsing
pushed a commit
to blhsing/cpython
that referenced
this issue
Aug 22, 2024
vstinner
pushed a commit
that referenced
this issue
Aug 26, 2024
…#123129) gh-116789: Add more tests for `inspect.getmembers` (GH-116802) (cherry picked from commit c15bfa9) Co-authored-by: sobolevn <[email protected]>
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Right now
test_inspect
checksgetmembers
with mostly classes and methods.It does not test: function, traceback, code, frame, generator, coroutine, and builtin objects.
We should also test how
predicate
works for these objects.However, they are listed in the docs:
cpython/Doc/library/inspect.rst
Lines 47 to 248 in a18c985
I will send a PR with new tests.
Linked PRs
inspect.getmembers
#116802inspect.getmembers
(GH-116802) #123129inspect.getmembers
(GH-116802) #123130inspect.getmembers
#127052The text was updated successfully, but these errors were encountered: