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 gvanrossum
Recipients christian.heimes, gvanrossum, nnorwitz, roudkerk, theller
Date 2007-11-14.21:28:57
SpamBayes Score 0.11124232
Marked as misclassified No
Message-id <ca471dc20711141328v581d6964xcfa4648b1c269e90@mail.gmail.com>
In-reply-to <1195072258.5.0.753058997935.issue1378@psf.upfronthosting.co.za>
Content
> On Windows socket.fromfd() is not possible. Socket handlers and file
> descriptors are different types using different API methods. Other
> examples for the discrepancy are select.select() and select.poll(). On
> Windows they don't work on file.

I know, but, I was thinking of it taking the fileno() of some other
socket object as argument.

In any case I think the test should not be based on whether os.name ==
'nt' but on the presence of something in the _socket module.
History
Date User Action Args
2007-11-14 21:28:57gvanrossumsetspambayes_score: 0.111242 -> 0.11124232
recipients: + gvanrossum, nnorwitz, theller, christian.heimes, roudkerk
2007-11-14 21:28:57gvanrossumlinkissue1378 messages
2007-11-14 21:28:57gvanrossumcreate