Barry A. Warsaw added the comment: On May 29, 2017, at 11:42 PM, Yury Selivanov wrote:
>- detailed logging or hooks to implement it >- hooks on thread start / stop >- coroutines to run before starting the server >- coroutines to run before stopping the loop >- custom undhandled exceptions handlers >- type of the server created: TCP/UDP/Unix >- ability to configure SSL >- etc > >P.S. It would be interesting to try to evolve the idea a bit further: it >would be interesting if Controller was a high-level description of a service >and we had a separate concept of ControllerRunner to run Controllers in >threads, processes and corotuines. Maybe build something like erlang >supervisor trees out of them. There's also value in doing one simple thing that adds convenience for users. I don't personally have any interest in building something as elaborate as the above, but I've used the simple idea here several times in different projects. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30300> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com