Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Untabify C files. Will watch buildbots. | Antoine Pitrou | 2010-05-09 | 1 | -1401/+1401 |
| | |||||
* | Fix a couple of issues with the test_structmembersType class in _testcapimodule | Mark Dickinson | 2010-04-03 | 1 | -10/+17 |
| | | | | | | | | | | | | | - rename to _test_structmembersType to avoid the class being automatically called by test_capi - allow space for trailing NUL in inplace_member field of all_structmembers - use T_STRING_INPLACE instead of T_INPLACE_STRING as keyword argument to _test_structmembersType initializer - don't attempt to initialize inplace_member field if T_STRING_INPLACE argument wasn't supplied. | ||||
* | give TypeError when trying to set T_STRING_INPLACE | Benjamin Peterson | 2010-04-03 | 1 | -3/+14 |
| | |||||
* | Backported PyCapsule from 3.1, and converted most uses of | Larry Hastings | 2010-03-25 | 1 | -0/+152 |
| | | | | CObject to PyCapsule. | ||||
* | Issue #7385: Fix a crash in `MemoryView_FromObject` when | Antoine Pitrou | 2010-02-02 | 1 | -0/+95 |
| | | | | `PyObject_GetBuffer` fails. Patch by Florent Xicluna. | ||||
* | be robust against test being run over and over (such as -R) | Benjamin Peterson | 2010-01-30 | 1 | -3/+13 |
| | |||||
* | move test outside WITH_THREAD section | Benjamin Peterson | 2010-01-30 | 1 | -2/+3 |
| | |||||
* | Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, a | Mark Dickinson | 2010-01-30 | 1 | -0/+167 |
| | | | | | long long variant of PyLong_AsLongAndOverflow. Patch by Case Van Horsen. | ||||
* | #7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new ↵ | Georg Brandl | 2009-12-28 | 1 | -0/+22 |
| | | | | exceptions a docstring. | ||||
* | Additional edge-case tests for test_long_and_overflow. | Mark Dickinson | 2009-12-21 | 1 | -16/+107 |
| | |||||
* | Fix reference counts for test_long_and_overflow. | Mark Dickinson | 2009-12-21 | 1 | -0/+6 |
| | |||||
* | Issue #7528: Backport PyLong_AsLongAndOverflow from py3k to trunk. | Mark Dickinson | 2009-12-21 | 1 | -0/+70 |
| | | | | Thanks Case Van Horsen for the patch. | ||||
* | Add missing tests for PyArg_Parse* with format 'h' | Mark Dickinson | 2009-12-20 | 1 | -0/+10 |
| | |||||
* | add a test of loading the datetime capi | Benjamin Peterson | 2009-12-13 | 1 | -0/+16 |
| | |||||
* | Issue #7228: Add '%lld' and '%llu' support to PyFormat_FromString, | Mark Dickinson | 2009-11-15 | 1 | -0/+6 |
| | | | | PyFormat_FromStringV and PyErr_Format. | ||||
* | PyCode_NewEmpty: | Jeffrey Yasskin | 2009-05-08 | 1 | -0/+16 |
| | | | | | | | | Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New are trying to build an empty code object, usually to put it in a dummy frame object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify just the filename, function name, and first line number, instead of also requiring lots of code internals. | ||||
* | tabify :( | Benjamin Peterson | 2009-05-05 | 1 | -5/+5 |
| | |||||
* | fix running test_capi with -R :: | Benjamin Peterson | 2009-05-05 | 1 | -0/+9 |
| | | | | Also, fix a refleak in the test that was preventing running. :) | ||||
* | Issue 4474: On platforms with sizeof(wchar_t) == 4 and | Mark Dickinson | 2009-03-18 | 1 | -0/+43 |
| | | | | | | | | | sizeof(Py_UNICODE) == 2, PyUnicode_FromWideChar now converts each character outside the BMP to the appropriate surrogate pair. Thanks Victor Stinner for the patch. (backport of r70452 from py3k to trunk) | ||||
* | Issue 4293: Make Py_AddPendingCall() thread safe | Kristján Valur Jónsson | 2009-01-09 | 1 | -0/+38 |
| | | | | Add test cases and documentation | ||||
* | Just inserted blank line. | Hirokazu Yamamoto | 2008-12-31 | 1 | -0/+1 |
| | |||||
* | Fixed compile error on windows. | Hirokazu Yamamoto | 2008-12-31 | 1 | -1/+2 |
| | |||||
* | Issue #4701: implicitly call PyType_Ready from PyObject_Hash | Nick Coghlan | 2008-12-30 | 1 | -0/+101 |
| | |||||
* | make global static | Benjamin Peterson | 2008-12-23 | 1 | -1/+1 |
| | |||||
* | use a global variable, so the compiler doesn't optimize the assignment out | Benjamin Peterson | 2008-12-23 | 1 | -2/+3 |
| | |||||
* | silence compiler warning | Benjamin Peterson | 2008-12-22 | 1 | -0/+1 |
| | |||||
* | fix #4720: the format to PyArg_ParseTupleAndKeywords can now start with '|' | Benjamin Peterson | 2008-12-22 | 1 | -0/+27 |
| | |||||
* | #4122: On Windows, Py_UNICODE_ISSPACE cannot be used in an extension module: | Amaury Forgeot d'Arc | 2008-10-14 | 1 | -0/+4 |
| | | | | | | compilation fails with "undefined reference to _Py_ascii_whitespace" Will backport to 2.6. | ||||
* | #3643 add a few more checks to _testcapi to prevent segfaults | Benjamin Peterson | 2008-08-23 | 1 | -4/+20 |
| | | | | | Author: Victor Stinner Reviewer: Benjamin Peterson | ||||
* | Added garbage collector overhead and optional default return value to | Robert Schuppenies | 2008-07-10 | 1 | -0/+1 |
| | | | | sys.getsizeof. | ||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 1 | -3/+3 |
| | | | | | | | 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. | ||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -3/+3 |
| | |||||
* | Rename the test_traceback_print() function to traceback_print() to prevent | Brett Cannon | 2008-04-28 | 1 | -3/+3 |
| | | | | test_capi from automatically calling the function. | ||||
* | Fix a bug introduced by the warnings rewrite where tracebacks were being | Brett Cannon | 2008-04-28 | 1 | -0/+19 |
| | | | | | | improperly indented. Closes issue #2699. | ||||
* | Patch #1691070 from Roger Upole: Speed up PyArg_ParseTupleAndKeywords() and ↵ | Christian Heimes | 2008-02-26 | 1 | -0/+18 |
| | | | | | | improve error msg My tests don't show the promised speed up of 10%. The code is as fast as the old code for simple cases and slightly faster for complex cases with several of args and kwargs. But the patch simplifies the code, too. | ||||
* | Reformat some ugly code. | Georg Brandl | 2008-01-21 | 1 | -26/+39 |
| | |||||
* | Patch #1720595: add T_BOOL to the range of structmember types. | Georg Brandl | 2008-01-21 | 1 | -2/+5 |
| | | | | Patch by Angelo Mottola, reviewed by MvL, tests by me. | ||||
* | #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and ↵ | Christian Heimes | 2007-12-19 | 1 | -1/+1 |
| | | | | Py_REFCNT. Macros for b/w compatibility are available. | ||||
* | PEP 3123: Provide forward compatibility with Python 3.0, while keeping | Martin v. Löwis | 2007-07-21 | 1 | -3/+2 |
| | | | | | backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT. | ||||
* | Patch #1733960: Allow T_LONGLONG to accept ints. | Martin v. Löwis | 2007-06-09 | 1 | -3/+27 |
| | | | | Will backport to 2.5. | ||||
* | Fix crash in test on HP-UX. Apparently, it's not possible to delete a lock if | Neal Norwitz | 2006-10-28 | 1 | -0/+3 |
| | | | | | | it's held (even by the current thread). Will backport. | ||||
* | Get DBL_MAX from float.h not values.h. Will backport. | Martin v. Löwis | 2006-10-27 | 1 | -3/+1 |
| | |||||
* | Check for values.h. Will backport. | Martin v. Löwis | 2006-10-27 | 1 | -0/+2 |
| | |||||
* | Patch #1549049: Rewrite type conversion in structmember. | Martin v. Löwis | 2006-10-27 | 1 | -8/+121 |
| | | | | Fixes #1545696 and #1566140. Will backport to 2.5. | ||||
* | Change fix for segfaulting property(), add a NEWS entry and a test. | Georg Brandl | 2006-08-04 | 1 | -0/+9 |
| | |||||
* | Part of bug #1523610: fix miscalculation of buffer length. | Georg Brandl | 2006-07-26 | 1 | -0/+11 |
| | | | | | Also add a guard against NULL in converttuple and add a test case (that previously would have crashed). | ||||
* | Remove lie in new comment. | Tim Peters | 2006-05-13 | 1 | -3/+1 |
| | |||||
* | Teach PyString_FromFormat, PyErr_Format, and PyString_FromFormatV | Tim Peters | 2006-05-13 | 1 | -4/+43 |
| | | | | | | | | | | | | about "%u", "%lu" and "%zu" formats. Since PyString_FromFormat and PyErr_Format have exactly the same rules (both inherited from PyString_FromFormatV), it would be good if someone with more LaTeX Fu changed one of them to just point to the other. Their docs were way out of synch before this patch, and I just did a mass copy+paste to repair that. Not a backport candidate (this is a new feature). | ||||
* | correct function signature | Skip Montanaro | 2006-04-18 | 1 | -1/+1 |
| | |||||
* | Add a test for Py_ssize_t. Correct typo in getargs.c. | Georg Brandl | 2006-04-13 | 1 | -11/+21 |
| |