]> granicus.if.org Git - python/commit
Invert the checks in get_[u]long and get_[u]longlong. The intent was
authorThomas Heller <theller@ctypes.org>
Thu, 24 Jan 2008 13:08:54 +0000 (13:08 +0000)
committerThomas Heller <theller@ctypes.org>
Thu, 24 Jan 2008 13:08:54 +0000 (13:08 +0000)
commitfe528ebf6829b9be7cce38c7b15a3815a361faa2
tree7198a0f1be145169f057e5186973ae935e85ba47
parente105f980460131d192d955fca0df474bcf1c642c
Invert the checks in get_[u]long and get_[u]longlong.  The intent was
to not accept float types; the result was that integer-like objects
were not accepted.
Lib/ctypes/test/test_numbers.py
Misc/NEWS
Modules/_ctypes/cfield.c