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: |
corona10
left a comment
There was a problem hiding this comment.
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