[issue12460] SocketServer.shutdown() does not have "timeout=None" parameter

2015-11-29 Thread Martin Panter

Martin Panter added the comment:

Closing as retracted by original reporter.

(Also, I wonder how useful the timeout would be. Adding a timeout isn’t going 
to fix a hanging server.)

--
nosy: +martin.panter
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12460] SocketServer.shutdown() does not have "timeout=None" parameter

2015-11-29 Thread Марк Коренберг

Марк Коренберг added the comment:

Please close this bug since asyncio is much more suitable, and things like 
socketserver is obsolete as I think.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12460] SocketServer.shutdown() does not have "timeout=None" parameter

2011-07-01 Thread Santoso Wijaya

Changes by Santoso Wijaya :


--
nosy: +santa4nt

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12460] SocketServer.shutdown() does not have "timeout=None" parameter

2011-07-01 Thread R. David Murray

R. David Murray  added the comment:

Well, it's not applicable to 2.x, since it is a feature request.  As such it 
could only go into 3.3.  I don't have an opinion on the merits of the 
suggestion.

--
nosy: +r.david.murray
versions: +Python 3.3 -Python 2.6, Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12460] SocketServer.shutdown() does not have "timeout=None" parameter

2011-07-01 Thread Giampaolo Rodola'

Changes by Giampaolo Rodola' :


--
nosy: +giampaolo.rodola

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12460] SocketServer.shutdown() does not have "timeout=None" parameter

2011-07-01 Thread Марк Коренберг

New submission from Марк Коренберг :

Suppose i'm trying to correctly terminate thread with socketserver during 
application termination.

I do not want to wait too long (also do not want to hang), I want to protect 
against long-lived operations in SimpleServer

so something like
myserver.shutdown(2)
will be nice.

Also it should return True or False depending on successfull shutting down.

It's easy to implement - thanks to Threading.event.wait(timeout=...)

Don't know if it is applicable to python 3.x

--
components: Library (Lib)
messages: 139557
nosy: mmarkk
priority: normal
severity: normal
status: open
title: SocketServer.shutdown() does not have "timeout=None" parameter
type: feature request
versions: Python 2.6, Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com