Message150263
| Author |
Arcege |
| Recipients |
Arcege, giampaolo.rodola, neologix, petri.lehtinen, pitrou, santoso.wijaya, socketpair |
| Date |
2011年12月26日.15:48:45 |
| SpamBayes Score |
6.5931934e-05 |
| Marked as misclassified |
No |
| Message-id |
<1324914527.39.0.446707819144.issue12463@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here is a patch to socketserver.py which can be applied to 2.6, 2.7 and 3.2. The fix is for BaseServer, ForkingMixIn and ThreadingMixIn. All three now correctly respond to the shutdown method. I have no way of testing Windows or MacOSX (based on docs, MacOSX should work without changes); the ForkingMixIn will raise an AssertionError on non-POSIX systems. There may be a better way of handling non-POSIX systems, but again, I'm not able to test or develop at this time. I'll also update the simpletest.py script. |
|