[issue1378] fromfd() and dup() for _socket on WIndows

Christian Heimes report at bugs.python.org
Thu Nov 15 02:55:07 CET 2007


Christian Heimes added the comment:

I've reviewed your patch and merged it was some pending changes of my
own. The socket tests are passing on Windows. Great work :)

UPDATE:
* Added PyLong_FromSocket_t and PyLong_AsSocket_t to longobject.h to get
rid of some 64bit warnings
* Use name dup_socket() instead of dup(). For Windows developers it's
too confusing to name it dup().
* Readded fromfd, but this time in C again.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1378>
__________________________________


More information about the Python-bugs-list mailing list