New submission from Giampaolo Rodola' <g.rod...@gmail.com>:

Patch in attachment adds a "running" property to figure out whether the server 
is running or not.

Also it raises an exception in case the server has already been started or 
stopped. IMO such an event should be prevented beforehand as it signals an 
application error.

Finally, __repr__ has been modified in order to reflect the current server 
status.

----------
files: socketserver.patch
keywords: patch
messages: 156432
nosy: giampaolo.rodola, pitrou
priority: normal
severity: normal
stage: patch review
status: open
title: Add socketserver.running property
versions: Python 3.3
Added file: http://bugs.python.org/file24970/socketserver.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14375>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to