04349c602c9dfc70b2d451a8191b21d7f30db3e6 |
|
13-Jun-2014 |
Zachary Ware <zachary.ware@gmail.com> |
Issue #19493: Backport 6f63fff5c120
/external/python/cpython2/Lib/ctypes/test/test_prototypes.py
|
5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e |
|
01-Jul-2009 |
Benjamin Peterson <benjamin@python.org> |
convert usage of fail* to assert*
/external/python/cpython2/Lib/ctypes/test/test_prototypes.py
|
8e8ba151dde6e36a972ef64240f48d63251c43a5 |
|
04-Apr-2008 |
Thomas Heller <theller@ctypes.org> |
Issue #2543: Make ctypes compatible (again) with Python 2.3, 2.4, and 2.5.
/external/python/cpython2/Lib/ctypes/test/test_prototypes.py
|
e7becc5007b8600402697513bdc74579dbc630d2 |
|
24-Oct-2007 |
Thomas Heller <theller@ctypes.org> |
Added unittest for calling a function with paramflags (backport from py3k branch).
/external/python/cpython2/Lib/ctypes/test/test_prototypes.py
|
867200483bd518d4fbd9e3d16f8785b6395af9b7 |
|
14-Aug-2006 |
Thomas Heller <theller@ctypes.org> |
Apply the patch #1532975 plus ideas from the patch #1533481. ctypes instances no longer have the internal and undocumented '_as_parameter_' attribute which was used to adapt them to foreign function calls; this mechanism is replaced by a function pointer in the type's stgdict. In the 'from_param' class methods, try the _as_parameter_ attribute if other conversions are not possible. This makes the documented _as_parameter_ mechanism work as intended. Change the ctypes version number to 1.0.1.
/external/python/cpython2/Lib/ctypes/test/test_prototypes.py
|
6ff67ef09687611e810e20c23d5f7f7194693331 |
|
21-Apr-2006 |
Thomas Heller <theller@ctypes.org> |
Merge in changes from ctypes 0.9.9.6 upstream version.
/external/python/cpython2/Lib/ctypes/test/test_prototypes.py
|
319c47fcdb3b8196cc580c4fab409b0ee58119fe |
|
11-Apr-2006 |
Tim Peters <tim.peters@gmail.com> |
Try to repair what may be the last new test failure on the "x86 OpenBSD trunk" buildbot due to changing Python so that Python-exposed addresses are always non-negative. test_int_pointer_arg(): This line failed now whenever the box happened to assign an address to `ci` "with the sign bit set": self.failUnlessEqual(addressof(ci), func(byref(ci))) The problem is that the ctypes addressof() inherited "all addresses are non-negative now" from changes to PyLong_FromVoidPtr(), but byref() did not inherit that change and can still return a negative int. I don't know whether, or what, the ctypes implementation wants to do about that (possibly nothing), but in the meantime the test fails frequently. So, introduced a Python positive_address() function in the test module, that takes a purported machine address and, if negative, converts it to a non-negative value "with the same bits". This should leave the test passing under all versions of Python. Belated thanks to Armin Rigo for teaching me the sick trick ;-) for determining the # of bits in a machine pointer via abuse of the struct module.
/external/python/cpython2/Lib/ctypes/test/test_prototypes.py
|
e8d09e581816aa7fdb812801c79e8f6bc55dc134 |
|
09-Mar-2006 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython2/Lib/ctypes/test/test_prototypes.py
|
babddfca758abe34ff12023f63b18d745fae7ca9 |
|
08-Mar-2006 |
Thomas Heller <theller@ctypes.org> |
Copy ctypes-0.9.9.4 Python modules from external into the trunk.
/external/python/cpython2/Lib/ctypes/test/test_prototypes.py
|