--- a/mercurial/posix.py Tue May 31 03:39:42 2022 +0200
+++ b/mercurial/posix.py Tue May 31 04:11:34 2022 +0200
@@ -716,14 +716,7 @@
In unsupported cases, it will raise a NotImplementedError"""
try:
- while True:
- try:
- res = select.select(fds, fds, fds)
- break
- except select.error as inst:
- if inst.args[0] == errno.EINTR:
- continue
- raise
+ res = select.select(fds, fds, fds)
except ValueError: # out of range file descriptor
raise NotImplementedError()
return sorted(list(set(sum(res, []))))