On 21 August 2016 at 12:37, Christian Heimes wrote:
> the socket.setsockopt(level, optname, value) method has two calling
> variants. When it is called with a buffer-like object as value, it calls
> the C API function setsockopt() with optval=buffer.buf and
> optlen=buffer.len. When value is an in
Wouldn't
setsockopt(socket.SOL_ALG, socket.ALG_SET_AEAD_AUTHSIZE, None, taglen)
be more consistent?
--Guido (mobile)
On Aug 21, 2016 5:40 AM, "Christian Heimes" wrote:
> Hi,
>
> the socket.setsockopt(level, optname, value) method has two calling
> variants. When it is called with a buffer-lik
Brendan Scott, author of 'Python for Kids for Dummies' is revising his
book to produce a Python 3 version. Great so far.
Unfortunately, he thinks that Python 3 turned range() into a (generator)
function that produces a generator, one that can be indexed and sliced.
I left a comment on his blo
Hi,
the socket.setsockopt(level, optname, value) method has two calling
variants. When it is called with a buffer-like object as value, it calls
the C API function setsockopt() with optval=buffer.buf and
optlen=buffer.len. When value is an integer, setsockopt() packs it as
int32 and sends it with