# This qmake file is included by all Patternist projects and contains common Qt defines, # compiler warnings, and include paths. INCLUDEPATH += $$PWD/acceltree \ $$PWD/data \ $$PWD/api \ $$PWD/environment \ $$PWD/expr \ $$PWD/functions \ $$PWD/iterators \ $$PWD/janitors \ $$PWD/parser \ $$PWD/schema \ $$PWD/type \ $$PWD/utils DEPENDPATH += $$INCLUDEPATH ='cgit logo'/> index : cpython.git
https://github.com/python/cpython.git
summaryrefslogtreecommitdiffstats
path: root/Modules/_ctypes/callbacks.c
Commit message (Collapse)AuthorAgeFilesLines
* ctypes: fix CThunkObject_new()Victor Stinner2016-07-271-2/+4
| | | | | | | | | | * Initialize restype and flags fields to fix a crash when Python runs on a read-only file system * Use Py_ssize_t type rather than int for the "i" iterator variable * Reorder assignements to be able to more easily check if all fields are initialized Issue #11048. Initial patch written by Marcin Bachry.
* Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵Antoine Pitrou2014-10-081-44/+1
| | | | | | exception tracebacks. Initial patch by Mark Shannon.
* Issue #19512, #19515: remove shared identifiers, move identifiers where theyVictor Stinner2013-11-071-1/+1
| | | | | | | are used. Move also _Py_IDENTIFIER() defintions to the top in modified files to remove identifiers duplicated in the same file.
* Issue #19512: add some common identifiers to only create common strings once,Victor Stinner2013-11-061-1/+1
| | | | | | | instead of creating temporary Unicode string objects Add also more identifiers in pythonrun.c to avoid temporary Unicode string objets for the interactive interpreter.
* Issue #19356: Avoid using a C variabled named "_self", it's a reserved word ↵Antoine Pitrou2013-10-231-6/+6
|\ | | | | | | in some C compilers.
| * Issue #19356: Avoid using a C variabled named "_self", it's a reserved word ↵Antoine Pitrou2013-10-231-6/+6
| | | | | | | | in some C compilers.
* | Issue #18609, #18408: _ctypes_add_traceback() now clears the current exceptionVictor Stinner2013-08-011-3/+20
|/ | | | | | | | | | | while adding the traceback, because it may call indirectly a Python function and Python functions must not be called with an exception set. In the case of the issue #18609, _ctypes_add_traceback() called the iso8859-1 decoder which is implemented in Python. Python has a ISO-8859-1 codec implemented in C. It is not used because PyUnicode_Decode() only uses the C codec for other names (aliases) of this codec ("latin-1", "latin1" and "iso-8859-1").
* Issue #12483: ctypes: Fix a crash when the destruction of a callbackAmaury Forgeot d'Arc2011-09-121-0/+1
| | | | object triggers the garbage collector.
* #11565: Merge with 3.1.Ezio Melotti2011-03-161-1/+1
|\
| * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
| |
| * Fix buildbot issues due to _ctypes failing to compile in 3.1.Antoine Pitrou2010-08-101-10/+6
| | | | | | | | | | Recorded rollback of revisions 83837,83841 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k
| * Merged revisions 83837,83841 via svnmerge fromThomas Heller2010-08-081-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83837 | thomas.heller | 2010-08-08 19:58:53 +0200 (So, 08 Aug 2010) | 3 lines Fix issue5504: ctypes does now work with systems where mmap can't be PROT_WRITE and PROT_EXEC. ........ r83841 | thomas.heller | 2010-08-08 20:16:20 +0200 (So, 08 Aug 2010) | 2 lines Fix issue6869: refcount problem in the _ctypes extension. ........
| * Recorded merge of revisions 81032 via svnmerge fromAntoine Pitrou2010-05-091-475/+475
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines Recorded merge of revisions 81029 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ ................
| * Merged revisions 78382 via svnmerge fromThomas Heller2010-02-231-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r78382 | thomas.heller | 2010-02-23 21:25:02 +0100 (Di, 23 Feb 2010) | 11 lines Merged revisions 78380 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78380 | thomas.heller | 2010-02-23 21:11:44 +0100 (Di, 23 Feb 2010) | 4 lines ctypes CThunkObject was not registered correctly with the cycle garbage collector, leading to possible leaks when using callback functions. ........ ................
* | Fix for issue9662, patch by Łukasz Langa in issue5504.Ronald Oussoren2010-09-051-0/+4
| |
* | Fix issue5504: ctypes does now work with systems where mmap can't beThomas Heller2010-08-081-6/+10
| | | | | | | | PROT_WRITE and PROT_EXEC.
* | Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-443/+443
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
* | Merged revisions 78380 via svnmerge fromThomas Heller2010-02-231-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78380 | thomas.heller | 2010-02-23 21:11:44 +0100 (Di, 23 Feb 2010) | 4 lines ctypes CThunkObject was not registered correctly with the cycle garbage collector, leading to possible leaks when using callback functions. ........
* | Merged revisions 72487-72488,72879 via svnmerge fromAlexandre Vassalotti2009-07-21