[issue1514] missing constants in socket module
report at bugs.python.org
Fri Nov 30 12:49:52 CET 2007
Marc-Andre Lemburg added the comment:
While the patch looks right (can't say for sure whether netinet/tcp.h is
always available), I think the approach itself of adding these constants
to the socket module is wrong.
Instead of adding these constants to the socket module, they should go
into a new TCP.py module and get generated by the h2py script much like
IN.py is already for each platform.
Tracker <report at bugs.python.org>
More information about the Python-bugs-list