gh-72894: Dynamically allocate select fd_sets on Windows based on inputs size#13842
gh-72894: Dynamically allocate select fd_sets on Windows based on inputs size#13842andzn wants to merge 8 commits into
Conversation
|
By this PR you basically increased the memory consumption for every See the issue's comment added recently |
Sorry, something went wrong.
jdemeyer
left a comment
There was a problem hiding this comment.
To test the new seqsize() code path, I would like to see a test added where select.select() is called with an iterable which is not a tuple or list, for example iter([fd]) instead of [fd].
Sorry, something went wrong.
jdemeyer
left a comment
There was a problem hiding this comment.
You are also missing error checks where you call seqsize().
Sorry, something went wrong.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase And if you don't make the requested changes, you will be put in the comfy chair! |
Sorry, something went wrong.
|
I have made the requested changes; please review again |
Sorry, something went wrong.
|
Thanks for making the requested changes! @asvetlov: please review the changes made to this pull request. |
Sorry, something went wrong.
|
@jdmeyer I removed the seqsize function completely and replaced calls with PySequence_Length. |
Sorry, something went wrong.
|
hope this pass soon. |
Sorry, something went wrong.
|
@andzn Could you sign the new CLA by clicking |
Sorry, something went wrong.
@arhadthedev done. |
Sorry, something went wrong.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
https://bugs.python.org/issue28708