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 pitrou
Recipients brian.curtin, dmalcolm, loewis, pitrou, tim.golden
Date 2010-08-17.20:08:35
SpamBayes Score 0.00039931628
Marked as misclassified No
Message-id <1282075717.48.0.00416167416105.issue4835@psf.upfronthosting.co.za>
In-reply-to
Content
After trying it out, pulling SOCKET in the Python headers brings complications under Windows, because you need to include <winsock2.h> which in turn breaks compilation of _pickle.c (duplicate definition of "FLOAT", "INT", etc.).

An alternative approach would be to define only SIZEOF_SOCKET_T in the standard headers (we don't actually need access to the SOCKET type to compute it, as the current hard-coding shows), and leave SOCKET_T in socketmodule.h.
History
Date User Action Args
2010-08-17 20:08:37pitrousetrecipients: + pitrou, loewis, tim.golden, brian.curtin, dmalcolm
2010-08-17 20:08:37pitrousetmessageid: <1282075717.48.0.00416167416105.issue4835@psf.upfronthosting.co.za>
2010-08-17 20:08:36pitroulinkissue4835 messages
2010-08-17 20:08:35pitroucreate