b3eaaf0bfcab14f3e33a24bfaa60b7b51b2d4284 |
|
22-Jun-2016 |
Martin Panter <vadmium+py@gmail.com> |
Issue #22463: Cure unused function warnings on AIX
/external/python/cpython2/Modules/_ctypes/cfield.c
|
646b528467b171148143980452d2aa4294cbe5c8 |
|
22-Jun-2016 |
Martin Panter <vadmium+py@gmail.com> |
Issue #22463: Backport compiler warning fixes and workarounds * Set but unused variable in Parser/pgen.c in non-debug builds. Patch by Christian Heimes. * Unused static function in Modules/readline.c. Patch by Georg Brandl. * main_window unused in Modules/tkappinit.c. Patch by Gregory P. Smith. * Dead assignment in Modules/_ctypes/cfield.c. Extracted from patch by Brett Cannon. * Expression result unused in PyObject_INIT macro expansions. Based on patches by Christian Heimes. * Load expat_config.h and therefore pyconfig.h before C stdlib headers are loaded. This silences pre-processor warnings including '_POSIX_C_SOURCE redefined'. Extracted from patch by Christian Heimes.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
ef012cc7f7ff8519aba77d8869af70c1a86a98c0 |
|
16-Jun-2016 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #27330: Fixed possible leaks in the ctypes module.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
f45c1755c32bac80059e463039f7f0a644593189 |
|
14-May-2016 |
Martin Panter <vadmium+py@gmail.com> |
Remove PEP 291 compatibility requirements for ctypes and modulefinder https://mail.python.org/pipermail/python-dev/2016-May/144502.html
/external/python/cpython2/Modules/_ctypes/cfield.c
|
e97944a27e836f68f6b42393885999f3bcdce36b |
|
29-Jul-2015 |
Victor Stinner <victor.stinner@gmail.com> |
Issue #23319: Fix ctypes.BigEndianStructure, swap correctly bytes. Patch written by Matthieu Gautier.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
e3af6f0a888aa16c364fb20a7f9ea82ca9374d0c |
|
16-Mar-2014 |
Benjamin Peterson <benjamin@python.org> |
fix ctypes test alignment assumptions (closes #20946) Patch by Andreas Schwab.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
25be3f68e02b06c43dfa9eb831fddd69fa33fc64 |
|
19-Jul-2012 |
Meador Inge <meadori@gmail.com> |
Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
fe7aa49f24743f834bcf123fcd9ea5cc7a123209 |
|
28-May-2012 |
Meador Inge <meadori@gmail.com> |
Issue #9041: raised exception is misleading An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that caused an incorrect exception to be returned in the case of overflow has been fixed.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
c83ea137d7e717f764e2f31fc2544f522de7d857 |
|
09-May-2010 |
Antoine Pitrou <solipsis@pitrou.net> |
Untabify C files. Will watch buildbots.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
402b73fb8d54ec2b24b52fdd77d389d903fa6c44 |
|
25-Mar-2010 |
Larry Hastings <larry@hastings.org> |
Backported PyCapsule from 3.1, and converted most uses of CObject to PyCapsule.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
d8431ae3bd3fea2b8a3c03d7d330c789c7bf7453 |
|
21-Jul-2009 |
Thomas Heller <theller@ctypes.org> |
Revert rev 74134, as it does not completely fixx issue #6493.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
6adda9641d41c858cfe2318f9e4e5b898ee1dce4 |
|
21-Jul-2009 |
Thomas Heller <theller@ctypes.org> |
Issue #6493: Fix a ctypes problem setting bitfields more than 31 bits wide.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
929ab934891719ea1561a623ee1b2e502b59e022 |
|
05-May-2009 |
Mark Dickinson <dickinsm@gmail.com> |
Issue #5933: Fix some gcc -Wextra warnings. Thanks Victor Stinner for the patch.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
5c6af808f7721787dcce1bc6bfe14f225f9db6f3 |
|
24-Apr-2009 |
Thomas Heller <theller@ctypes.org> |
Issue #3102: All global symbols that the _ctypes extension defines are now prefixed with 'Py' or '_ctypes'.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
3a6a0431d0a016119b3246748b5aa245ff1ac4fe |
|
13-Jan-2009 |
Thomas Heller <theller@ctypes.org> |
Fix refcount leak in error cases. Bug found by coverity.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
e1448730716ee5c62d7290f8cfb4d94ad3f440df |
|
29-Sep-2008 |
Thomas Heller <theller@ctypes.org> |
Fix issue #3547 for MingW, update comments.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
a85c95d5e85e1d6886d1260b88221c2a31686a55 |
|
24-Sep-2008 |
Thomas Heller <theller@ctypes.org> |
Fix issue #3547: ctypes is confused by bitfields of varying integer types Reviewed by Fredrik Lundh and Skip Montanaro.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
dd96db63f689e2f0d8ae5a1436b3b3395eec7de5 |
|
09-Jun-2008 |
Gregory P. Smith <greg@mad-scientist.com> |
This reverts r63675 based on the discussion in this thread: http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
5640ce2f1edc0148ee14fd3daeb7ac700700bb71 |
|
05-Jun-2008 |
Ronald Oussoren <ronaldoussoren@mac.com> |
MacOS X: Enable 4-way universal builds This patch adds a new configure argument on OSX: --with-universal-archs=[32-bit|64-bit|all] When used with the --enable-universalsdk option this controls which CPU architectures are includes in the framework. The default is 32-bit, meaning i386 and ppc. The most useful alternative is 'all', which includes all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64). This includes limited support for the Carbon bindings in 64-bit mode as well, limited because (a) I haven't done extensive testing and (b) a large portion of the Carbon API's aren't available in 64-bit mode anyway. I've also duplicated a feature of Apple's build of python: setting the environment variable 'ARCHFLAGS' controls the '-arch' flags used for building extensions using distutils.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
593daf545bd9b7e7bcb27b498ecc6f36db9ae395 |
|
26-May-2008 |
Christian Heimes <christian@cheimes.de> |
Renamed PyString to PyBytes
/external/python/cpython2/Modules/_ctypes/cfield.c
|
f3c0559b5e164e112d408c30e41ac2f2b06c2c85 |
|
05-Mar-2008 |
Thomas Heller <theller@ctypes.org> |
Issue 1872: Changed the struct module typecode from 't' to '?', for compatibility with PEP3118.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
5ca924038dd196217cedd4b02480ea16acd634f3 |
|
24-Jan-2008 |
Thomas Heller <theller@ctypes.org> |
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. Ported from release25-maint.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
0f75f9847a178e93cde056a4d889260698cd9471 |
|
16-Jan-2008 |
Thomas Heller <theller@ctypes.org> |
Use 'g' instead of 'D' as the ctypes typecode for c_longdouble, for compliance with PEP 3118.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
153038efa4fa1b2e9819703abf22bddf76a62e9f |
|
18-Dec-2007 |
Thomas Heller <theller@ctypes.org> |
Issue #1642: Fix segfault in ctypes when trying to delete attributes.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
469b2a52cdeb861311d3dada9aadb75cfd652f23 |
|
25-Oct-2007 |
Thomas Heller <theller@ctypes.org> |
ffi_type_longdouble may be already #defined. See issue 1324.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
91ac42243cd010691b082a0b2fdd414e6d47456c |
|
19-Oct-2007 |
Thomas Heller <theller@ctypes.org> |
Fix ctypes on 32-bit systems when Python is configured --with-system-ffi. See also https://bugs.launchpad.net/bugs/72505. Ported from release25-maint branch.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
49c7c71d9f2cd3576581088006400f7ca1ff73b2 |
|
07-Sep-2007 |
Thomas Heller <theller@ctypes.org> |
Remove unneeded #include.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
2825b2ea444e3ce03cac7fc562fe6b7166972459 |
|
07-Sep-2007 |
Thomas Heller <theller@ctypes.org> |
Add a 'c_longdouble' type to the ctypes module.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
6819210b9e4e5719a6f7f9c1725f8fa70a8936f6 |
|
21-Jul-2007 |
Martin v. Löwis <martin@v.loewis.de> |
PEP 3123: Provide forward compatibility with Python 3.0, while keeping backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
6088f24df28051a9ac62b7b9c43930de8f32a9d2 |
|
08-Jun-2007 |
Thomas Heller <theller@ctypes.org> |
Fix gcc warnings intruduced by passing Py_ssize_t to PyErr_Format calls.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
e81c9f6d5e22dbe4252ea578211710daea95347d |
|
08-Jun-2007 |
Thomas Heller <theller@ctypes.org> |
[ 1715718 ] x64 clean compile patch for _ctypes, by Kristj?n Valur with small modifications.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
68bb9a1418f15eede43242eb3619ee5e4d0a85cb |
|
30-Apr-2007 |
Thomas Heller <theller@ctypes.org> |
When accessing the .value attribute of a c_wchar_p instance, and the instance does not point to a valid wchar_t zero-terminated string, raise a ValueError. c_char_p does this already. The ValueError message now contains the correct pointer address. Will backport to release25-maint.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
5a901bd3cc396b17645d0d4012faf63db9e3ab42 |
|
30-Apr-2007 |
Thomas Heller <theller@ctypes.org> |
Make sure to call PyErr_NoMemory() in several places where PyMem_Malloc() could potentially fail. Will backport to the release25-maint branch.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
f493cbd8248650e14422ea04e1c3953fdcacd218 |
|
22-Mar-2007 |
Thomas Heller <theller@ctypes.org> |
Back out "Patch #1643874: memory leak in ctypes fixed." The code in this patch leaves no way to give up the ownership of a BSTR instance.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
5dc4fe09b7648f9801558e766b21a3d3b2dcad3b |
|
13-Mar-2007 |
Thomas Heller <theller@ctypes.org> |
Patch #1649190: Adding support for _Bool to ctypes as c_bool, by David Remahl.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
4378215474361ea0f94341275285a856970aa2b8 |
|
25-Jan-2007 |
Thomas Heller <theller@ctypes.org> |
Fix for #1643874: When calling SysAllocString, create a PyCObject which will eventually call SysFreeString to free the BSTR resource.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
98619f267c86a0bae77c6146a3481f9085423671 |
|
25-Aug-2006 |
Thomas Heller <theller@ctypes.org> |
Port _ctypes.pyd to win64 on AMD64.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
b0aa98fd4f02c4d5a9d9f43ac013595cbcf1f06c |
|
16-Aug-2006 |
Thomas Heller <theller@ctypes.org> |
The __repr__ method of a NULL py_object does no longer raise an exception. Remove a stray '?' character from the exception text when the value is retrieved of such an object. Includes tests.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
6b4953fd3d3d1df06f692af67f593d3d0a7aef26 |
|
12-Aug-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
Check returned pointer is valid. Klocwork #233
/external/python/cpython2/Modules/_ctypes/cfield.c
|
109f91414fe32e7d7dacbd8050c0b9992d0531db |
|
16-Jul-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
proto was dereffed above and is known to be good. No need for X. Reported by Klocwork, #39.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
dda068dee1937d0dd144568a83e2a47e5c26f9a2 |
|
10-Jul-2006 |
Thomas Heller <theller@ctypes.org> |
Fix bug #1518190: accept any integer or long value in the ctypes.c_void_p constructor.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
9ba7ca82298fabe84b633514317d795b42eef770 |
|
05-Jul-2006 |
Thomas Heller <theller@ctypes.org> |
Fix the bitfield test when _ctypes is compiled with MingW. Structures containing bitfields may have different layout on MSVC and MingW .
/external/python/cpython2/Modules/_ctypes/cfield.c
|
c2da9945852785c7da3c0becc7edd586b5ec628b |
|
12-Jun-2006 |
Thomas Heller <theller@ctypes.org> |
Add pep-291 compatibility markers.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
07347d6efc84f06e65c0e55b8906a8e6579bfc4a |
|
06-Jun-2006 |
Thomas Heller <theller@ctypes.org> |
Damn - the sentinel was missing. And fix another silly mistake.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
ecc3e67b986a1eed404b528ccbc099049c149edb |
|
06-Jun-2006 |
Thomas Heller <theller@ctypes.org> |
Convert CFieldObject tp_members to tp_getset, since there is no structmember typecode for Py_ssize_t fields. This should fix some of the errors on the PPC64 debian machine (64-bit, big endian). Assigning to readonly fields now raises AttributeError instead of TypeError, so the testcase has to be changed as well.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
0890de3be0a8507fcabd8587f57656ed27bda45d |
|
05-Apr-2006 |
Thomas Heller <theller@ctypes.org> |
Explicitely use 'signed char', to avoid problems on platforms with unsigned char type.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
d59ca8f335282ca72896c936d862a9a68633d73f |
|
20-Mar-2006 |
Thomas Heller <theller@ctypes.org> |
Accessing unaligned structure fields works now on all architectures. Including unittest.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
0c6b0e9d05e516a2a02b14e2f807b9ddfbc5beb4 |
|
16-Mar-2006 |
Thomas Heller <theller@ctypes.org> |
Fix a leak that would happen under error conditions (found by Coverty).
/external/python/cpython2/Modules/_ctypes/cfield.c
|
9998f78d6dc78e1e2652f07423e25353a32413a3 |
|
15-Mar-2006 |
Thomas Heller <theller@ctypes.org> |
Backport from upstream version: compatibility with older Python versions.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
8ea61f1a83985e38627318d19ec7a3febdb5cacd |
|
15-Mar-2006 |
Tim Peters <tim.peters@gmail.com> |
Revert rev 43041, which introduced the "z" format qualifier unique to Python 2.5.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
ab8aeba51749d5a7beb818804eaf3047207eae5e |
|
15-Mar-2006 |
Tim Peters <tim.peters@gmail.com> |
CField_repr(): PyString_FromFormat() understands the C99 "z" qualifier on all platforms.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
ab906a562bb0ab4de99e76df16f227386438ace6 |
|
14-Mar-2006 |
Thomas Heller <theller@ctypes.org> |
Cast an Py_ssize_t to int, to avoid a compiler warning.
/external/python/cpython2/Modules/_ctypes/cfield.c
|
d4c9320412177895f598a93d73a0e654db27c351 |
|
08-Mar-2006 |
Thomas Heller <theller@ctypes.org> |
Copy ctypes-0.9.9.4 sources from external into the trunk.
/external/python/cpython2/Modules/_ctypes/cfield.c
|