[issue28708] Low FD_SETSIZE limit on Windows

Steve Dower report at bugs.python.org
Wed Jun 5 14:56:16 EDT 2019


Steve Dower <steve.dower at python.org> added the comment:

> So it's really FD_SETSIZE that matters, and it's a compile-time constant.

The only way this constant can matter is if the array has to end with an empty slot, which doesn't appear to be the case. The pre-compiled function can't tell how you compiled the code calling it, and the only place where FD_SETSIZE is used is in the macros to set them.

Dynamic allocation ought to be just fine, and likely faster for big arrays.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28708>
_______________________________________


More information about the Python-bugs-list mailing list