Re: [Python-Dev] [Python-checkins] cpython: Issue #12981: rewrite multiprocessing_{sendfd, recvfd} in Python.

2011-09-25 Thread Charles-François Natali
> On Sun, Sep 25, 2011 at 4:04 AM, charles-francois.natali > 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 t

Re: [Python-Dev] [Python-checkins] cpython: Issue #12981: rewrite multiprocessing_{sendfd, recvfd} in Python.

2011-09-25 Thread Nick Coghlan
On Sun, Sep 25, 2011 at 4:04 AM, charles-francois.natali 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 functio

Re: [Python-Dev] range objects in 3.x

2011-09-25 Thread Guido van Rossum
On Sat, Sep 24, 2011 at 10:21 PM, Steven D'Aprano wrote: > Guido van Rossum wrote: >> I believe this API is fundamentally wrong for float ranges, even if >> it's great for int ranges, and I will fight against adding it to the >> stdlib in that form. > > I wasn't proposing it to be in the standard