-
-
Notifications
You must be signed in to change notification settings - Fork 379
Test all constants reexported #1245
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
base: main
Are you sure you want to change the base?
Test all constants reexported #1245
Conversation
|
So it looks like the things that aren't being re-exported aren't in or else by (Option 3) handling all the non- Please let me know what you'd consider preferable! |
|
(I edited the description of the pull request to mention that it's going to close #825 so that Github closes the issue for us when we merge your PR! When we don't do that, we usually forget to close the issue.) The correct fix is Option 1. We want You want the same thing, but for |
|
@pquentin thanks for the reply, but I think there is some miscommunication occurring. I believe that
and
are mutually exclusive statements. From my understanding, Based on the rest of your comment, it appears that we want to go further than just ensuring "Option 1" was a suggestion to modify the test so that we only care about Please let me know if what I said makes sense, or if I've confused the issue further. |
|
Thanks, your explanation makes sense! I think the misunderstanding is here:
We don't want that to work! I just realized that In other words, the fact that Does that make sense? |
|
Your explanation makes sense. Thanks for clearing that up! In that case, I'm pretty confident we should probably also modify lines 22-108 socket.py (not directly, I guess by modifying |
|
Ooh, that's a really good catch. I'm glad that your work here is going to help improve the exporting logic. I agree, |
|
However, fixing |
|
@stevenjackson121 Is there anything I can help with? |
The test actually fails because EAGAIN is not exported on my machine (which shows it may be a valuable test, but also means there's potentially work to do in the exporting magic, some of which goes above my head...).
Guidance on where to head from here appreciated!
(As I learned while making this PR, exports are platform dependent, is this test even going to be valuable on the CI machine or would it take a dev running windows like me to actually cause failures?)Oh it looks like the CI does run against a wide variety of machines, and definitely catches some errors. I'll try wading through them to see what specific exports are being missed.Closes #825