Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-30830: logging.config.listen() calls server_close()#3524

Merged
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
vstinner:logging_server_closeCopy head branch name to clipboard
Sep 13, 2017
Merged

bpo-30830: logging.config.listen() calls server_close()#3524
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
vstinner:logging_server_closeCopy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Sep 13, 2017

Copy link
Copy Markdown
Member

The ConfigSocketReceiver.serve_until_stopped() method from
logging.config.listen() now calls server_close() (of
socketserver.ThreadingTCPServer) rather than closing manually the
socket.

While this change has no effect yet, it will help to prevent dangling
threads once ThreadingTCPServer.server_close() will join spawned
threads (bpo-31233).

https://bugs.python.org/issue30830

The ConfigSocketReceiver.serve_until_stopped() method from
logging.config.listen() now calls server_close() (of
socketserver.ThreadingTCPServer) rather than closing manually the
socket.

While this change has no effect yet, it will help to prevent dangling
threads once ThreadingTCPServer.server_close() will join spawned
threads (bpo-31233).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.