[Pyamqp] Intial TODOS Clean Up
ws.closeon async does close the socket in the library -> link- I kept the py2 comment in
_transport.pyaboutfrom os import set_cloexec. Looks like its not in py3 ( yet ) and that import will throw anImportErroracross Windows, Mac & Linux. - Rejecting
linkson aValueErrorin_incoming_attach. Is that the proper way?
API change check
APIView has identified API level changes in this PR and created following API reviews.
In general, I was thinking that we could keep a separate file for outlining negative tests/any tests that we'll want to add in for testing our TODOS. (maybe under something like
tests/todo_tests.py?) And in each TODO PR, we can update this file with a comment of the test/pseudocode for the test/something similar.Since the actual tests will be added to main, but all of our TODO changes will be in pyamqp, I think it would be helpful to be able to couple these TODO test outlines with their corresponding changes. This way, we can clearly track all the tests we need to add, rather than retrospectively figuring out which TODO changes need to be tested and how exactly to test them.
Thoughts?
I like the idea, we can include this in either the PR that fixes those groupings of TODOs or in the Onenote with a linkout to the PR