We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed664b8 commit aafa48cCopy full SHA for aafa48c
Lib/pdb.py
@@ -2678,7 +2678,7 @@ def _send(self, **kwargs):
2678
try:
2679
self._sockfile.write(json_payload.encode() + b"\n")
2680
self._sockfile.flush()
2681
- except OSError:
+ except (OSError, ValueError):
2682
# This means that the client has abruptly disconnected, but we'll
2683
# handle that the next time we try to read from the client instead
2684
# of trying to handle it from everywhere _send() may be called.
0 commit comments