-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
bpo-38202: PyObject_GetIter() should be checked for failure #16241
bpo-38202: PyObject_GetIter() should be checked for failure #16241
Conversation
An exception may occur during a PyObject_GetIter() call.
Could you add a test? |
@serhiy-storchaka The fatal error I reported on the BPO issue was due to a |
It can be. For example:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add misc/news through the blurb.
And add unit tests based on @serhiy-storchaka suggested.
intersection
, or
, xor
, sub
operations should be added.
@methane @serhiy-storchaka |
I have added a unit test. Without the current PR:
now:
|
Thanks @serhiy-storchaka ! |
Thanks @pablogsal! |
|
The buildbot failure is very likely unrelated, I am investigating. |
An exception may occur during a PyObject_GetIter() call.
https://bugs.python.org/issue38202