Message263817
The SysLogHandlerTest class instantiates a 'server_class' that eventually calls the
server_bind() method of the TCPServer class of the socketserver module.
This server_bind() method executes the statements:
self.socket.bind(self.server_address)
self.server_address = self.socket.getsockname()
and when self.server_address is a string and contains a null byte, then
getsockname() returns a bytes object.
So finally, self.server in SysLogHandlerTest is a bytes object in this case,
hence the needed to fix Lib/logging/handlers.py. |
|
Date |
User |
Action |
Args |
2016-04-20 10:28:42 | xdegaye | set | recipients:
+ xdegaye, vinay.sajip, vstinner |
2016-04-20 10:28:42 | xdegaye | set | messageid: <1461148122.22.0.754712328998.issue26803@psf.upfronthosting.co.za> |
2016-04-20 10:28:42 | xdegaye | link | issue26803 messages |
2016-04-20 10:28:42 | xdegaye | create | |
|