diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-07-25 16:01:12 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-07-25 16:01:12 +0000 |
commit | c075e197d6453939bce6253ebb4fdb5dffaeb6c7 (patch) | |
tree | d5d1de007ff4dd7a5d2b56aa8b4cedcab5a2c865 /Python/exceptions.c | |
parent | b8a690d42a2476eeb308cb379382a3337f3a3c07 (diff) | |
download | cpython-git-c075e197d6453939bce6253ebb4fdb5dffaeb6c7.tar.gz |
Extended socket.htonl and ntohl to accept longs.
Fixes SF bug #568322.
The code should raise an OverflowError if the long is > 32 bits, even
on platforms where sizeof(long) > 4.
Diffstat (limited to 'Python/exceptions.c')
0 files changed, 0 insertions, 0 deletions