mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Issue #16704: Get rid of select.error in stdlib. Use OSError instead.
This commit is contained in:
parent
5ee29491e5
commit
6d8a122b9c
5 changed files with 8 additions and 8 deletions
|
@ -773,7 +773,7 @@ if threading:
|
|||
"""
|
||||
try:
|
||||
asyncore.loop(poll_interval, map=self.sockmap)
|
||||
except select.error:
|
||||
except OSError:
|
||||
# On FreeBSD 8, closing the server repeatably
|
||||
# raises this error. We swallow it if the
|
||||
# server has been closed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue