[Python-Dev] [Python-checkins] cpython: Issue #12981: rewrite multiprocessing_{sendfd, recvfd} in Python.
Nick Coghlan
ncoghlan at gmail.com
Mon Sep 26 05:47:40 CEST 2011
On Sun, Sep 25, 2011 at 4:04 AM, charles-francois.natali
<python-checkins at python.org> wrote:
> +if not(sys.platform == 'win32' or (hasattr(socket, 'CMSG_LEN') and
> + hasattr(socket, 'SCM_RIGHTS'))):
> raise ImportError('pickling of connections not supported')
I'm pretty sure the functionality checks for CMSG_LEN and SCM_RIGHTS
mean the platform check for Windows is now redundant.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev
mailing list