mirror of
https://github.com/python/cpython.git
synced 2025-12-09 18:48:05 +00:00
Closes #17981: Merged fix from 3.3.
This commit is contained in:
commit
3a8f510b52
2 changed files with 3 additions and 0 deletions
|
|
@ -876,6 +876,7 @@ class SysLogHandler(logging.Handler):
|
|||
try:
|
||||
self.socket.send(msg)
|
||||
except OSError:
|
||||
self.socket.close()
|
||||
self._connect_unixsocket(self.address)
|
||||
self.socket.send(msg)
|
||||
elif self.socktype == socket.SOCK_DGRAM:
|
||||
|
|
|
|||
|
|
@ -91,6 +91,8 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #17981: Closed socket on error in SysLogHandler.
|
||||
|
||||
- Issue #17964: Fix os.sysconf(): the return type of the C sysconf() function
|
||||
is long, not int.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue