Thomas Heller
fff61ea025
Expose RTLD_LOCAL and RTLD_GLOBAL always from the _ctypes extension module.
...
If RTLD_LOCAL is not #defined in any header file (Windows), set it to 0.
If RTLD_GLOBAL is not #defined, set it equal to RTLD_LOCAL.
This should fix ctypes on cygwin.
2006-04-06 15:23:16 +00:00
Thomas Heller
fb8f83b33f
One test still fails on the ia64 debian box.
2006-04-05 19:01:35 +00:00
Thomas Heller
726dcf34a6
Use 'ldd' to find the libc library to load. Based on an idea from Matthias Klose.
2006-04-05 17:36:45 +00:00
Neal Norwitz
b0b20a10bc
Get ctypes loader working on OSF1 (Tru64)
2006-04-03 06:52:43 +00:00
Thomas Heller
0d93a23479
Try to fix test_loading on openbsd.
2006-03-30 19:16:15 +00:00
Thomas Heller
300269ae6f
Oops - this should not have gone in.
2006-03-30 18:29:25 +00:00
Thomas Heller
b320682577
Output more info when the test fails.
2006-03-30 17:49:55 +00:00
Thomas Heller
240ec6b9ef
Make the tests succeed with -Qnew: Do not rely on the exact wording of a ZeroDivisionError.
2006-03-28 11:00:08 +00:00
Thomas Heller
cce2267cf1
Plug a leak in the ctypes test suite when tests are run repeatedly.
2006-03-20 08:11:56 +00:00
Thomas Heller
d59ca8f335
Accessing unaligned structure fields works now on all architectures.
...
Including unittest.
2006-03-20 07:54:01 +00:00
Thomas Heller
b03cb602e8
Merge changes from the upstream version:
...
- cast is implemented as a foreign function now
- On Windows, it is now possible to access functions exported by ordinal only
2006-03-17 15:52:58 +00:00
Thomas Heller
23e408603c
Fix a test that fails when libGL.so and libGLU.so are not installed (on posix systems).
2006-03-16 20:09:22 +00:00
Thomas Heller
a022789ab3
Plug some refcount leaks when tests are run repeatedly.
2006-03-13 10:47:02 +00:00
Thomas Heller
6058aa40d2
Remove the slightly broken test_leaks.py.
...
Change test_functions.py so that it can be run multiple time without
failing: Assign a restype to the function in test_intresult, and move
the definition of class POINT to module level so that no new class is
created each time the test is run.
2006-03-13 07:33:38 +00:00
Thomas Heller
51f77b5152
Remove the magic to run an uninstalled ctypes version from a CVS sandbox.
2006-03-09 19:40:00 +00:00
Thomas Heller
57e881eb22
Disable the testcase that crashes solaris.
2006-03-09 09:43:53 +00:00
Tim Peters
e8d09e5818
Whitespace normalization.
2006-03-09 01:15:05 +00:00
Hye-Shik Chang
d758d3d747
Remove .cvsignore and set svn:ignore for *.pyc *.pyo.
2006-03-08 23:31:17 +00:00
Thomas Heller
babddfca75
Copy ctypes-0.9.9.4 Python modules from external into the trunk.
2006-03-08 19:56:54 +00:00