commit | fe528ebf6829b9be7cce38c7b15a3815a361faa2 | [log] [tgz] |
---|---|---|
author | Thomas Heller <theller@ctypes.org> | Thu Jan 24 13:08:54 2008 +0000 |
committer | Thomas Heller <theller@ctypes.org> | Thu Jan 24 13:08:54 2008 +0000 |
tree | 7198a0f1be145169f057e5186973ae935e85ba47 | |
parent | e105f980460131d192d955fca0df474bcf1c642c [diff] [blame] |
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.
diff --git a/Misc/NEWS b/Misc/NEWS index eb23c09..46d3f66 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -67,6 +67,9 @@ Library ------- +- The ctypes int types did not accept objects implementing + __int__() in the constructor. + - #1189216: Fix the zipfile module to work on archives with headers past the 2**31 byte boundary.