New submission from Georg Sauthoff :
Currently, the socket module doesn't provide the IP_RECVTOS constant.
This constant is needed for receiving the TOS byte (or the DSCP bits) via
ancillary data when calling recvmsg() or recvmsg_into().
That means it would be used in a setsockopt()
Changes by Georg Sauthoff :
--
nosy: +gms
___
Python tracker
<http://bugs.python.org/issue1346874>
___
___
Python-bugs-list mailing list
Unsubscribe:
Georg Sauthoff added the comment:
For working around this issue on Python 3.5 it is sufficient to overwrite just
the `return_value.__iter__` method of the object returned by `mock_open()` with
an iterator that calls the mocked `readline()` method until it returns the
empty string.
cf. e.g
Changes by Georg Sauthoff :
--
nosy: +gms
___
Python tracker
<http://bugs.python.org/issue21258>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Georg Sauthoff:
When building on Solaris 10 I had to patch
Modules/_posixsubprocess.c -> dirfd issues
Modules/socketmodule.c -> sethostname declaration
setup.py -> ncurses detection
See the attached patch for details.
I built it like this:
CC=gcc CXX=g++ LDFLAGS