We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Python 3.5.2, multidict-2.0.0 from PyPI, following code fails with SIGSEGV:
from multidict import MultiDict set() - MultiDict().keys()
If i understood correctly, error happens in PyAnySet_Check call, since set substraction is basically difference method call with type check:
PyAnySet_Check
difference
if (!PyAnySet_Check(so) || !PyAnySet_Check(other)) { Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } return set_difference(so, other);
It also can be reproduced with dict and list objects, so i think problem may be related to type checking.
The text was updated successfully, but these errors were encountered:
Good catch! Would you provide a Pull Request with fix?
Sorry, something went wrong.
Cherry-pick fix for #6
f7899e0
Fixed in both multidict==1.2.2 and multidict==2.0.1
No branches or pull requests
Python 3.5.2, multidict-2.0.0 from PyPI, following code fails with SIGSEGV:
If i understood correctly, error happens in
PyAnySet_Check
call, since set substraction is basicallydifference
method call with type check:It also can be reproduced with dict and list objects, so i think problem may be related to type checking.
The text was updated successfully, but these errors were encountered: