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-15.00:00:46
SpamBayes Score 0.0291816
Marked as misclassified No
Message-id <>
Here's a new version along the lines I described. Please test on
Windows. It works on Linux and OSX. What this includes:

- the dup-on-windows implementation by R Oudkerk, with the
GetLastError() suggestion from Thomas Heller.

- Replace the C implementations of dup() and accept() with _dup() and
_accept() that return file descriptors instead of socket objects.

- Implement accept() and dup() in Python using _accept() and _dup().

- Get rid of socket.fromfd(). You can use socket.socket(..., fileno=...)
instead (it doesn't dup though).
File name Uploaded
socket.diff gvanrossum, 2007-11-15.00:00:46
Date User Action Args
2007-11-15 00:00:47gvanrossumsetspambayes_score: 0.0291816 -> 0.0291816
recipients: + gvanrossum, nnorwitz, theller, christian.heimes, roudkerk
2007-11-15 00:00:47gvanrossumsetspambayes_score: 0.0291816 -> 0.0291816
messageid: <>
2007-11-15 00:00:46gvanrossumlinkissue1378 messages
2007-11-15 00:00:46gvanrossumcreate