This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vinay.sajip, vstinner, xdegaye
Date 2016-04-19.14:58:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461077913.89.0.397831262372.issue26803@psf.upfronthosting.co.za>
In-reply-to
Content
The following change looks good to me:

-        if isinstance(address, str):
+        if isinstance(address, (str, bytes)):
             self.unixsocket = True
             self._connect_unixsocket(address)

But I don't understand the testcase. Is an address starting with a NULL character a special address? How does it the bytes address case?

+        # override the definition in the base class
+        self.address = '\x00python_logging_test'

"syslog logging handler fails with address in unix abstract namespace"

What is the unix abstract namespace?
History
Date User Action Args
2016-04-19 14:58:33vstinnersetrecipients: + vstinner, vinay.sajip, xdegaye
2016-04-19 14:58:33vstinnersetmessageid: <1461077913.89.0.397831262372.issue26803@psf.upfronthosting.co.za>
2016-04-19 14:58:33vstinnerlinkissue26803 messages
2016-04-19 14:58:33vstinnercreate