ctypes-commit Mailing List for ctypes (Page 3)
Brought to you by:
theller
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
(8) |
May
(90) |
Jun
(143) |
Jul
(106) |
Aug
(94) |
Sep
(84) |
Oct
(163) |
Nov
(60) |
Dec
(58) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(128) |
Feb
(79) |
Mar
(227) |
Apr
(192) |
May
(179) |
Jun
(41) |
Jul
(53) |
Aug
(103) |
Sep
(28) |
Oct
(38) |
Nov
(81) |
Dec
(17) |
2006 |
Jan
(184) |
Feb
(111) |
Mar
(188) |
Apr
(67) |
May
(58) |
Jun
(123) |
Jul
(73) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: Thomas H. <th...@us...> - 2006-07-11 10:31:19
|
Update of /cvsroot/ctypes/ctypes/source/libffi/src/frv In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv18365 Removed Files: ffitarget.h ffi.c eabi.S Log Message: Remove all files - this repository is no longer used. --- eabi.S DELETED --- --- ffi.c DELETED --- --- ffitarget.h DELETED --- |
From: Thomas H. <th...@us...> - 2006-07-11 10:30:40
|
Update of /cvsroot/ctypes/ctypes/source/libffi/src/darwin In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv18349 Removed Files: ffitarget.h Log Message: Remove all files - this repository is no longer used. --- ffitarget.h DELETED --- |
From: Thomas H. <th...@us...> - 2006-07-11 10:30:34
|
Update of /cvsroot/ctypes/ctypes/source/libffi/src/cris In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv18335 Removed Files: sysv.S ffitarget.h ffi.c Log Message: Remove all files - this repository is no longer used. --- sysv.S DELETED --- --- ffi.c DELETED --- --- ffitarget.h DELETED --- |
From: Thomas H. <th...@us...> - 2006-07-11 10:30:28
|
Update of /cvsroot/ctypes/ctypes/source/libffi/src/arm In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv18323 Removed Files: sysv.S ffitarget.h ffi.c Log Message: Remove all files - this repository is no longer used. --- sysv.S DELETED --- --- ffi.c DELETED --- --- ffitarget.h DELETED --- |
From: Thomas H. <th...@us...> - 2006-07-11 10:30:24
|
Update of /cvsroot/ctypes/ctypes/source/libffi/src/alpha In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv18300 Removed Files: osf.S ffitarget.h ffi.c Log Message: Remove all files - this repository is no longer used. --- osf.S DELETED --- --- ffi.c DELETED --- --- ffitarget.h DELETED --- |
From: Thomas H. <th...@us...> - 2006-07-11 10:30:18
|
Update of /cvsroot/ctypes/ctypes/source/libffi/include In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv18290 Removed Files: ffi_common.h ffi.h.in Log Message: Remove all files - this repository is no longer used. --- ffi_common.h DELETED --- --- ffi.h.in DELETED --- |
From: Thomas H. <th...@us...> - 2006-07-11 10:30:12
|
Update of /cvsroot/ctypes/ctypes/source/darwin In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv18038 Removed Files: dlfcn_simple.c dlfcn.h README.ctypes README LICENSE Log Message: Remove all files - this repository is no longer used. --- README DELETED --- --- dlfcn_simple.c DELETED --- --- README.ctypes DELETED --- --- dlfcn.h DELETED --- --- LICENSE DELETED --- |
From: Thomas H. <th...@us...> - 2006-07-11 10:30:04
|
Update of /cvsroot/ctypes/ctypes/docs In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17929 Removed Files: test-anatomy.py anatomy.txt Log Message: Remove all files - this repository is no longer used. --- test-anatomy.py DELETED --- --- anatomy.txt DELETED --- |
Update of /cvsroot/ctypes/ctypes/docs/manual In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17919 Removed Files: tutorial.txt test-tutorial.py reference.txt mkpydoc.py markup.py make.bat filter.py ctypes.txt .cvsignore Log Message: Remove all files - this repository is no longer used. --- .cvsignore DELETED --- --- tutorial.txt DELETED --- --- markup.py DELETED --- --- filter.py DELETED --- --- test-tutorial.py DELETED --- --- reference.txt DELETED --- --- ctypes.txt DELETED --- --- make.bat DELETED --- --- mkpydoc.py DELETED --- |
From: Thomas H. <th...@us...> - 2006-07-11 10:29:49
|
Update of /cvsroot/ctypes/ctypes/ctypes In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17909 Removed Files: wintypes.py util.py _endian.py __init__.py .cvsignore .CTYPES_DEVEL Log Message: Remove all files - this repository is no longer used. --- .cvsignore DELETED --- --- .CTYPES_DEVEL DELETED --- --- _endian.py DELETED --- --- util.py DELETED --- --- __init__.py DELETED --- --- wintypes.py DELETED --- |
Update of /cvsroot/ctypes/ctypes/ctypes/test In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17895 Removed Files: test_win32.py test_varsize_struct.py test_values.py test_unicode.py test_unaligned_structures.py test_structures.py test_struct_fields.py test_strings.py test_stringptr.py test_slicing.py test_sizes.py test_simplesubclasses.py test_returnfuncptrs.py test_repr.py test_refcounts.py test_random_things.py test_python_api.py test_prototypes.py test_pointers.py test_parameters.py test_objects.py test_numbers.py test_memfunctions.py test_macholib.py test_loading.py test_libc.py test_keeprefs.py test_internals.py test_integers.py test_init.py test_incomplete.py test_functions.py test_funcptr.py test_find.py test_errcheck.py test_checkretval.py test_cfuncs.py test_cast.py test_callbacks.py test_byteswap.py test_buffers.py test_bitfields.py test_arrays.py test_array_in_pointer.py test_anon.py runtests.py __init__.py .cvsignore Log Message: Remove all files - this repository is no longer used. --- test_functions.py DELETED --- --- test_values.py DELETED --- --- test_python_api.py DELETED --- --- test_libc.py DELETED --- --- test_refcounts.py DELETED --- --- test_find.py DELETED --- --- test_cfuncs.py DELETED --- --- test_byteswap.py DELETED --- --- test_numbers.py DELETED --- --- test_macholib.py DELETED --- --- test_integers.py DELETED --- --- test_win32.py DELETED --- --- test_sizes.py DELETED --- --- test_random_things.py DELETED --- --- test_bitfields.py DELETED --- --- test_keeprefs.py DELETED --- --- test_struct_fields.py DELETED --- --- test_stringptr.py DELETED --- --- test_loading.py DELETED --- --- test_incomplete.py DELETED --- --- test_funcptr.py DELETED --- --- test_parameters.py DELETED --- --- test_repr.py DELETED --- --- .cvsignore DELETED --- --- test_buffers.py DELETED --- --- test_prototypes.py DELETED --- --- test_unaligned_structures.py DELETED --- --- test_varsize_struct.py DELETED --- --- test_callbacks.py DELETED --- --- runtests.py DELETED --- --- test_checkretval.py DELETED --- --- test_array_in_pointer.py DELETED --- --- test_returnfuncptrs.py DELETED --- --- test_slicing.py DELETED --- --- test_pointers.py DELETED --- --- test_init.py DELETED --- --- test_strings.py DELETED --- --- test_unicode.py DELETED --- --- test_objects.py DELETED --- --- test_internals.py DELETED --- --- test_simplesubclasses.py DELETED --- --- __init__.py DELETED --- --- test_anon.py DELETED --- --- test_structures.py DELETED --- --- test_errcheck.py DELETED --- --- test_cast.py DELETED --- --- test_arrays.py DELETED --- --- test_memfunctions.py DELETED --- |
Update of /cvsroot/ctypes/ctypes/ctypes/macholib In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17883 Removed Files: framework.py fetch_macholib.bat fetch_macholib dylib.py dyld.py __init__.py README.ctypes .cvsignore Log Message: Remove all files - this repository is no longer used. --- .cvsignore DELETED --- --- fetch_macholib DELETED --- --- README.ctypes DELETED --- --- __init__.py DELETED --- --- dyld.py DELETED --- --- framework.py DELETED --- --- fetch_macholib.bat DELETED --- --- dylib.py DELETED --- |
From: Thomas H. <th...@us...> - 2006-07-11 10:29:31
|
Update of /cvsroot/ctypes/ctypes/codegen In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17871 Removed Files: setup.py TODO ChangeLog .cvsignore Log Message: Remove all files - this repository is no longer used. --- .cvsignore DELETED --- --- setup.py DELETED --- --- TODO DELETED --- --- ChangeLog DELETED --- |
From: Thomas H. <th...@us...> - 2006-07-11 10:29:22
|
Update of /cvsroot/ctypes/ctypes/codegen/scripts In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17861 Removed Files: xml2py.py h2xml.py Log Message: Remove all files - this repository is no longer used. --- xml2py.py DELETED --- --- h2xml.py DELETED --- |
From: Thomas H. <th...@us...> - 2006-07-11 10:29:16
|
Update of /cvsroot/ctypes/ctypes/codegen/docs In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17850 Removed Files: codegen.txt Log Message: Remove all files - this repository is no longer used. --- codegen.txt DELETED --- |
From: Thomas H. <th...@us...> - 2006-07-11 10:29:10
|
Update of /cvsroot/ctypes/ctypes/codegen/ctypes_codegen In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17802 Removed Files: xml2py_main.py typedesc.py h2xml_main.py gccxmlparser.py dynmod.py cparser.py codegenerator.py __init__.py .cvsignore Log Message: Remove all files - this repository is no longer used. --- .cvsignore DELETED --- --- xml2py_main.py DELETED --- --- codegenerator.py DELETED --- --- typedesc.py DELETED --- --- __init__.py DELETED --- --- gccxmlparser.py DELETED --- --- h2xml_main.py DELETED --- --- dynmod.py DELETED --- --- cparser.py DELETED --- |
From: Thomas H. <th...@us...> - 2006-07-11 10:29:06
|
Update of /cvsroot/ctypes/ctypes In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17499 Removed Files: winssh.txt test-cf.py setup.py make_mingwlib.py env.bat ctypes-dev.el TODO README.txt README.CVS MANIFEST.in LICENSE.txt ChangeLog BUGS ANNOUNCE ACKS .cvsignore Log Message: Remove all files - this repository is no longer used. --- .cvsignore DELETED --- --- ctypes-dev.el DELETED --- --- env.bat DELETED --- --- winssh.txt DELETED --- --- ChangeLog DELETED --- --- TODO DELETED --- --- test-cf.py DELETED --- --- BUGS DELETED --- --- MANIFEST.in DELETED --- --- ACKS DELETED --- --- make_mingwlib.py DELETED --- --- README.CVS DELETED --- --- ANNOUNCE DELETED --- --- setup.py DELETED --- --- LICENSE.txt DELETED --- --- README.txt DELETED --- |
From: Thomas H. <th...@us...> - 2006-07-06 15:25:01
|
Update of /cvsroot/ctypes/ctypes/docs/manual In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv3054 Modified Files: reference.txt Log Message: Index: reference.txt =================================================================== RCS file: /cvsroot/ctypes/ctypes/docs/manual/reference.txt,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** reference.txt 3 Jul 2006 14:29:12 -0000 1.43 --- reference.txt 6 Jul 2006 15:24:54 -0000 1.44 *************** *** 232,235 **** --- 232,241 ---- using ctypes conversion rules. + New: It is now possible to put items in argtypes which are not + ctypes types, but each item must have a ``from_param`` method + which returns a value usable as argument (integer, string, ctypes + instance). This allows to define adapters that can adapt custom + objects as function parameters. + ``errcheck`` : memberdesc Assign a Python function or another callable to this attribute. |
From: Thomas H. <th...@us...> - 2006-07-06 08:12:28
|
Update of /cvsroot/ctypes/ctypes/ctypes/test In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv22243 Modified Files: test_win32.py Log Message: Disable the test_SEH test unless the "SEH" resource is enabled when running tests. Index: test_win32.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/ctypes/test/test_win32.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** test_win32.py 6 Jul 2006 08:06:48 -0000 1.6 --- test_win32.py 6 Jul 2006 08:12:23 -0000 1.7 *************** *** 2,5 **** --- 2,6 ---- from ctypes import * + from ctypes.test import is_resource_enabled import unittest, sys *************** *** 31,43 **** self.assertRaises(ValueError, IsWindow, None) ! def test_SEH(self): ! # Call functions with invalid arguments, and make sure that access violations ! # are trapped and raise an exception. ! # ! # Normally, in a debug build of the _ctypes extension ! # module, exceptions are not trapped, so we can only run ! # this test in a release build. ! import sys ! if not hasattr(sys, "getobjects"): self.assertRaises(WindowsError, windll.kernel32.GetModuleHandleA, 32) --- 32,39 ---- self.assertRaises(ValueError, IsWindow, None) ! if is_resource_enabled("SEH"): ! def test_SEH(self): ! # Call functions with invalid arguments, and make sure that access violations ! # are trapped and raise an exception. self.assertRaises(WindowsError, windll.kernel32.GetModuleHandleA, 32) |
From: Thomas H. <th...@us...> - 2006-07-06 08:11:45
|
Update of /cvsroot/ctypes/ctypes In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv21870 Modified Files: ChangeLog Log Message: *** empty log message *** Index: ChangeLog =================================================================== RCS file: /cvsroot/ctypes/ctypes/ChangeLog,v retrieving revision 1.145 retrieving revision 1.146 diff -C2 -d -r1.145 -r1.146 *** ChangeLog 5 Jul 2006 08:33:50 -0000 1.145 --- ChangeLog 6 Jul 2006 08:11:40 -0000 1.146 *************** *** 1,2 **** --- 1,10 ---- + 2006-07-06 Thomas Heller <th...@py...> + + * ctypes\test\test_win32.py: Disable the test_SEH test unless the + "SEH" resource is enabled when running tests. + + * Remove the "ctypes.uses_seh()" function again, it will not go + into Python 2.5. + 2006-07-05 Thomas Heller <th...@py...> |
From: Thomas H. <th...@us...> - 2006-07-06 08:06:57
|
Update of /cvsroot/ctypes/ctypes/source In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20068 Modified Files: callproc.c Log Message: Per Python2.5 release manager request, remove the _ctypes.uses_seh() function. It will not go into the Python 2.5 version of ctypes. Index: callproc.c =================================================================== RCS file: /cvsroot/ctypes/ctypes/source/callproc.c,v retrieving revision 1.172 retrieving revision 1.173 diff -C2 -d -r1.172 -r1.173 *** callproc.c 5 Jul 2006 08:32:33 -0000 1.172 --- callproc.c 6 Jul 2006 08:06:54 -0000 1.173 *************** *** 1527,1545 **** } - static PyObject * - uses_seh(PyObject *self, PyObject *args) - { - #if defined(DONT_USE_SEH) || !defined(MS_WIN32) - Py_INCREF(Py_False); - return Py_False; - #else - Py_INCREF(Py_True); - return Py_True; - #endif - } - PyMethodDef module_methods[] = { - {"uses_seh", uses_seh, METH_NOARGS, - "Return whether ctypes uses Windows structured exception handling"}, {"resize", resize, METH_VARARGS, "Resize the memory buffer of a ctypes instance"}, #ifdef CTYPES_UNICODE --- 1527,1531 ---- |
From: Thomas H. <th...@us...> - 2006-07-06 08:06:56
|
Update of /cvsroot/ctypes/ctypes/ctypes/test In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20053 Modified Files: test_win32.py Log Message: Per Python2.5 release manager request, remove the _ctypes.uses_seh() function. It will not go into the Python 2.5 version of ctypes. Index: test_win32.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/ctypes/test/test_win32.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** test_win32.py 30 Jun 2006 14:36:15 -0000 1.5 --- test_win32.py 6 Jul 2006 08:06:48 -0000 1.6 *************** *** 31,39 **** self.assertRaises(ValueError, IsWindow, None) ! import _ctypes ! if _ctypes.uses_seh(): ! def test_SEH(self): ! # Call functions with invalid arguments, and make sure that access violations ! # are trapped and raise an exception. self.assertRaises(WindowsError, windll.kernel32.GetModuleHandleA, 32) --- 31,43 ---- self.assertRaises(ValueError, IsWindow, None) ! def test_SEH(self): ! # Call functions with invalid arguments, and make sure that access violations ! # are trapped and raise an exception. ! # ! # Normally, in a debug build of the _ctypes extension ! # module, exceptions are not trapped, so we can only run ! # this test in a release build. ! import sys ! if not hasattr(sys, "getobjects"): self.assertRaises(WindowsError, windll.kernel32.GetModuleHandleA, 32) |
From: Thomas H. <th...@us...> - 2006-07-05 21:50:01
|
Update of /cvsroot/ctypes/ctypes/docs/manual In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv18796 Modified Files: Tag: array_interface_branch reference.txt Log Message: Add todo item. Index: reference.txt =================================================================== RCS file: /cvsroot/ctypes/ctypes/docs/manual/reference.txt,v retrieving revision 1.40.2.1 retrieving revision 1.40.2.2 diff -C2 -d -r1.40.2.1 -r1.40.2.2 *** reference.txt 4 Jul 2006 11:17:36 -0000 1.40.2.1 --- reference.txt 4 Jul 2006 13:48:11 -0000 1.40.2.2 *************** *** 892,893 **** --- 892,894 ---- XXX + Special attributes of c_char and c_wchar array types: .raw .value \ No newline at end of file |
From: Thomas H. <th...@us...> - 2006-07-05 21:42:26
|
Update of /cvsroot/ctypes/ctypes/docs/manual In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv25203 Modified Files: Tag: array_interface_branch reference.txt Log Message: Fix typo. Index: reference.txt =================================================================== RCS file: /cvsroot/ctypes/ctypes/docs/manual/reference.txt,v retrieving revision 1.40 retrieving revision 1.40.2.1 diff -C2 -d -r1.40 -r1.40.2.1 *** reference.txt 14 Jun 2006 09:03:08 -0000 1.40 --- reference.txt 4 Jul 2006 11:17:36 -0000 1.40.2.1 *************** *** 28,32 **** On Linux, ``find_library`` tries to run external programs (/sbin/ldconfig, gcc, and objdump) to find the library file. It ! returns the filename of the library file. Here are sone examples:: >>> from ctypes.util import find_library --- 28,32 ---- On Linux, ``find_library`` tries to run external programs (/sbin/ldconfig, gcc, and objdump) to find the library file. It ! returns the filename of the library file. Here are some examples:: >>> from ctypes.util import find_library |
From: Thomas H. <th...@us...> - 2006-06-30 16:42:34
|
Update of /cvsroot/ctypes/ctypes/source/libffi_msvc In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv30205 Modified Files: fficonfig.h Log Message: #define __attribute__(x) only for MSVC, not for mingw compilers. This was the main thing that was missing for building _ctypes with MINGW32. Still, 2 tests are failing: test_bitfields and test_struct_return_8H. Index: fficonfig.h =================================================================== RCS file: /cvsroot/ctypes/ctypes/source/libffi_msvc/fficonfig.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** fficonfig.h 3 Mar 2006 20:20:11 -0000 1.7 --- fficonfig.h 30 Jun 2006 14:39:17 -0000 1.8 *************** *** 4,9 **** /* fficonfig.h.in. Generated automatically from configure.in by autoheader. */ ! /* Defines for MSVC */ #define __attribute__(x) /* */ #define alloca _alloca --- 4,11 ---- /* fficonfig.h.in. Generated automatically from configure.in by autoheader. */ ! /* Define this for MSVC, but not for mingw32! */ ! #ifdef _MSC_VER #define __attribute__(x) /* */ + #endif #define alloca _alloca |