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
socket module missing audit events #84302
Comments
Some of the events it was supposed to raise are not being raised. This is likely my fault for not adding the thorough testing in the test suite at the time (I'm uncovering them now with a different test suite...) I'll do a thorough review of this module and post a PR with the fixes. This shouldn't require any new events, as far as I can tell. |
In my defense(?), it was working fine everywhere except Windows. And I'm pretty sure I was working in WSL for this change *shrug* With the PR, it will match the documentation. |
s390x Fedora 3.x buildbot is unhappy: ====================================================================== Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/test/test_audit.py", line 125, in test_socket
self.fail(stderr)
AssertionError
Stderr:
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/test/audit-tests.py", line 345, in test_socket
sock.bind(('127.0.0.1', 8080))
OSError: [Errno 98] Address already in use
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/test/audit-tests.py", line 358, in <module>
globals()[test]()
File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z/build/Lib/test/audit-tests.py", line 346, in test_socket
except error:
NameError: name 'error' is not defined |
Thanks, Victor! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: