Author nmichaels
Recipients nmichaels
Date 2020-03-04.16:16:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
>>> from multiprocessing.connection import Listener
>>> listener = Listener('\0conntest', family='AF_UNIX')
>>> listener.close()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.6/multiprocessing/", line 466, in close
  File "/usr/lib64/python3.6/multiprocessing/", line 604, in close
  File "/usr/lib64/python3.6/multiprocessing/", line 186, in __call__
    res = self._callback(*self._args, **self._kwargs)
ValueError: embedded null byte

Linux has a handy feature where if the first byte of a unix domain socket's name is the null character, it won't put it in the filesystem. The socket interface works fine with it, but when SocketListener is wrapped around a socket, it throws this exception.
Date User Action Args
2020-03-04 16:16:13nmichaelssetrecipients: + nmichaels
2020-03-04 16:16:13nmichaelssetmessageid: <>
2020-03-04 16:16:13nmichaelslinkissue39850 messages
2020-03-04 16:16:13nmichaelscreate