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
len
built-in overwritten in ssl.py
leading to "'int' object is not callable" error
#97558
Comments
Can you please provide the whole traceback? I don't see the relationship between the ssl read() method overridding len() built-in function and the ssl sendall() method. |
@vstinner, here is more complete stack trace I can share (deleted part related to private project).
The version of pymongo is 4.1.1 Also I should have mentioned that the crash is happening only during debugging of the project. |
Does your change fix the issue for you?
That's surprising, you should dig into the issue to try to understand it.
Maybe the private parts overridde the built-in len() function. |
pn commentedSep 26, 2022
Bug report
I experienced a crash:
Looks like
len
built-in function is overwritten by an int in one ofread
methods in the same file:Following patch fixes the issue for me:
Your environment
I searched opened issues and PRs, but did not find this issue reported yet.
The text was updated successfully, but these errors were encountered: