New submission from Petr Viktorin <encu...@gmail.com>:
Currently, socketserver.serve_forever() sets a variable and serve_forever() polls for it, with a configurable interval. A comment in the code already says: # XXX: Consider using another file descriptor or connecting to the # socket to wake this up instead of polling. Polling reduces our # responsiveness to a shutdown request and wastes cpu at all other # times. ---------- components: Library (Lib) messages: 398427 nosy: petr.viktorin priority: normal severity: normal status: open title: socketserver.shutdown should stop serve_forever() immediately _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44769> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com