-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
runtime_checkable error in newer versions caused by a protocol subclass #207
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
I am NOT using |
Yikes, that's not good! Thanks for the report. Apologies for misreading your example. |
@AlexWaygood I'm having similar issues. One thing I noticed in my issue you might look at, if you run debug on the error is the error thrown with |
@jgbos are you still experiencing this issue with the latest version of |
@AlexWaygood I just saw your other comment, checking now. |
Consider the following code:
This works well and returns
False
, as expected.However, if I create a new protocol that subclass
Sized
:This now raises the following exception:
This non-local behavior did not happen in prior versions, and has caused problems in my code (GAA-UAM/scikit-fda#540).
The text was updated successfully, but these errors were encountered: