diff options
author | Thomas Heller <theller@ctypes.org> | 2006-03-14 19:53:09 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2006-03-14 19:53:09 (GMT) |
commit | fe8f862cda0e85cc074f8d3f518324b96267185e (patch) | |
tree | 74a03db4ffaf9053c37f9b1acc99b75423780a01 /PCbuild | |
parent | cb35b95f86062394437da42a3bd78085c4302b78 (diff) | |
download | cpython-fe8f862cda0e85cc074f8d3f518324b96267185e.zip cpython-fe8f862cda0e85cc074f8d3f518324b96267185e.tar.gz cpython-fe8f862cda0e85cc074f8d3f518324b96267185e.tar.bz2 |
Integrate patch from Neal Norwitz. He writes:
"""
The attached patch fixes all the ctypes tests so they pass on amd64.
It also fixes several warnings. I'm not sure what else to do with the
patch. Let me know how you want to handle these in the future.
I'm not sure the patch is 100% correct. You will need to decide what
can be 64 bits and what can't. I believe
sq_{item,slice,ass_item,ass_slice} all need to use Py_ssize_t. The
types in ctypes.h may not require all the changes I made. I don't
know how you want to support older version, so I unconditionally
changed the types to Py_ssize_t.
"""
The patch is also in the ctypes SVN repository now, after small
changes to add compatibility with older Python versions.
Diffstat (limited to 'PCbuild')
0 files changed, 0 insertions, 0 deletions