Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #22253 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2012-03-28 07:57 +1100 |
| Last post | 2012-03-28 07:57 +1100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Slow termination of process Chris Angelico <rosuav@gmail.com> - 2012-03-28 07:57 +1100
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2012-03-28 07:57 +1100 |
| Subject | Re: Slow termination of process |
| Message-ID | <mailman.1048.1332881839.3037.python-list@python.org> |
On Wed, Mar 28, 2012 at 1:52 AM, Roland Hedberg <roland@catalogix.se> wrote: > So, I went for the low-hanging fruit and defined my own TCPServer class > > class MyTCPServer(SocketServer.TCPServer): > def __init__(self, server_address, RequestHandlerClass): > self.allow_reuse_address = True > SocketServer.TCPServer.__init__(self, server_address, > RequestHandlerClass) > > and this solved my problem! > > So, thanks again Chris! Awesome! I wonder - and someone who's used the facility may know better than I - is there a reason not to make these sorts of things into keyword-only arguments? Or, more generally, is there a reason for them to be class variables rather than instance? Chris Angelico
Back to top | Article view | comp.lang.python
csiph-web