New submission from Erik Günther:

I have a small development WSGI-server using PythonPaste and when shutting it 
down I somtimes get the following error on one or two threads:


Traceback (most recent call last):
  File "/usr/lib/python2.7/", line 551, in __bootstrap_inner
  File "/usr/lib/python2.7/", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/", line 586, in process_request_thread
  File "/usr/lib/python2.7/", line 459, in shutdown_request
TypeError: shutdown() takes exactly 0 arguments (1 given)


/usr/lib/python2.7/ ------------8<-----------

    def shutdown_request(self, request):
        """Called to shutdown and close an individual request."""
            #explicitly shutdown.  socket.close() merely releases
            #the socket and waits for GC to perform the actual close.
        except socket.error:
            pass #some platforms may raise ENOTCONN here


So I recon its a bug...

messages: 175152
nosy: Erik.Günther
priority: normal
severity: normal
status: open
title: SocketServer call shutdown in the wrong way
type: crash
versions: Python 2.7

Python tracker <>
Python-bugs-list mailing list

Reply via email to