Skip to content

Handle exception raised by inspect #233

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lenard-mosys
Copy link

Fixes #232

Great tool!

@parker-research
Copy link

Is there a test case that could be created for that that libtorrent issue in #232 to ensure the issue doesn't sneak back in? I'm having trouble telling what the unique issue was.

raise AssertionError()
try:
members = inspect.getmembers(class_)
except TypeError as e:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could this also be other types of exceptions, e.g. RuntimeError

https://chatgpt.com/share/67fc0fc7-dcb0-8010-adc6-3af254dd624e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: No Python class registered for C++ class
3 participants