]> granicus.if.org Git - python/commit
Repair testNtoH for large long arguments.
authorJeremy Hylton <jeremy@alum.mit.edu>
Wed, 31 Jul 2002 15:57:39 +0000 (15:57 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Wed, 31 Jul 2002 15:57:39 +0000 (15:57 +0000)
commitcbd5b89571ee4d619bff2a264cc8a946cc98845f
tree254a51d42d5d5347ef0e37ab848aff95fee5547d
parentcce7e34aebeed31ac893836f59b69227e2e55a63
Repair testNtoH for large long arguments.

If the long is large enough, the return value will be a negative int.
In this case, calling the function a second time won't return the
original value passed in.
Lib/test/test_socket.py