Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Better assertion in PyObject_Call() to detect functions returning a result with | Victor Stinner | 2013-12-19 | 1 | -1/+2 |
| | | | | an exception set (invalid state). | ||||
* | Issue #17576: Deprecation warning emitted now when __int__() or __index__() | Serhiy Storchaka | 2013-12-11 | 1 | -56/+36 |
|\ | | | | | | | | | return not int instance. Introduced _PyLong_FromNbInt() and refactored PyLong_As*() functions. | ||||
| * | Issue #17576: Deprecation warning emitted now when __int__() or __index__() | Serhiy Storchaka | 2013-12-11 | 1 | -56/+36 |
| | | | | | | | | | | return not int instance. Introduced _PyLong_FromNbInt() and refactored PyLong_As*() functions. | ||||
* | | Issue #19437: Fix PyObject_CallFunction(), handle Py_VaBuildValue() and | Victor Stinner | 2013-10-29 | 1 | -0/+2 |
| | | | | | | | | PyTuple_New() failure | ||||
* | | Issue #19369: Optimized the usage of __length_hint__(). | Serhiy Storchaka | 2013-10-24 | 1 | -8/+10 |
| | | |||||
* | | Issue #1772673: The type of `char*` arguments now changed to `const char*`. | Serhiy Storchaka | 2013-10-19 | 1 | -4/+4 |
| | | |||||
* | | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -4/+3 |
|\ \ | |/ | | | | | error messages and comments. | ||||
| * | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -4/+3 |
| | | | | | | | | error messages and comments. | ||||
* | | Issue #16741: Fix an error reporting in int(). | Serhiy Storchaka | 2013-08-03 | 1 | -24/+5 |
|\ \ | |/ | |||||
| * | Issue #16741: Fix an error reporting in int(). | Serhiy Storchaka | 2013-08-03 | 1 | -24/+5 |
| | | |||||
* | | Issue #18408: add more assertions on PyErr_Occurred() in ceval.c to detect bugs | Victor Stinner | 2013-07-15 | 1 | -2/+1 |
| | | | | | | | | earlier | ||||
* | | Issue #18408: PyObject_Call() now fails with an assertion error in debug mode | Victor Stinner | 2013-07-15 | 1 | -1/+7 |
| | | | | | | | | | | if the function called failed whereas no exception was raised, to detect bugs earlier. | ||||
* | | Issue #18203: Replace malloc() with PyMem_Malloc() in ↵ | Victor Stinner | 2013-07-07 | 1 | -8/+11 |
| | | | | | | | | _PySequence_BytesToCharpArray() | ||||
* | | Issue #9369: The types of `char*` arguments of PyObject_CallFunction() and | Serhiy Storchaka | 2013-05-29 | 1 | -7/+10 |
| | | | | | | | | | | PyObject_CallMethod() now changed to `const char*`. Based on patches by Jörg Müller and Lars Buitinck. | ||||
* | | Closes #17892: Fix the name of _PyObject_CallMethodObjIdArgs | Alexandre Vassalotti | 2013-05-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #17715: Merge fix from 3.3. | Mark Dickinson | 2013-04-13 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue #17715: Add missing NULL Check to PyNumber_Long. | Mark Dickinson | 2013-04-13 | 1 | -0/+2 |
| | | |||||
* | | Revert a premature patch for issue #14010 (changeset 846bd418aee5). | Serhiy Storchaka | 2013-04-06 | 1 | -5/+2 |
|\ \ | |/ | |||||
| * | Revert a premature patch for issue #14010 (changeset aaaf36026511). | Serhiy Storchaka | 2013-04-06 | 1 | -5/+2 |
| | | |||||
* | | Issue #14010: Fix a crash when iterating or deleting deeply nested filters | Serhiy Storchaka | 2013-04-06 | 1 | -2/+5 |
|\ \ | |/ | | | | | (builting and in itertools module, i.e. map(), itertools.chain(), etc). | ||||
| * | Issue #14010: Fix a crash when iterating or deleting deeply nested filters | Serhiy Storchaka | 2013-04-06 | 1 | -2/+5 |
| | | | | | | | | (builting and in itertools module, i.e. map(), itertools.chain(), etc). | ||||
* | | Issue #16148: Small improvements and cleanup. Added version information | Armin Ronacher | 2012-10-07 | 1 | -7/+8 |
| | | | | | | | | to docs. | ||||
* | | and another one | Christian Heimes | 2012-10-06 | 1 | -2/+2 |
| | | |||||
* | | move var declaration to top of block to fix compilation on Windows, fixes ↵ | Christian Heimes | 2012-10-06 | 1 | -2/+4 |
| | | | | | | | | a7ec0a1b0f7c | ||||
* | | Issue #16148: implemented PEP 424 | Armin Ronacher | 2012-10-06 | 1 | -29/+47 |
|/ | |||||
* | Issue #16060: Fix a double DECREF in int() implementation. Thanks Serhiy ↵ | Mark Dickinson | 2012-09-27 | 1 | -4/+3 |
| | | | | Storchaka. | ||||
* | Merge 3.2. | Stefan Krah | 2012-08-21 | 1 | -0/+7 |
|\ | |||||
| * | Issue #15736: Fix overflow in _PySequence_BytesToCharpArray(). | Stefan Krah | 2012-08-21 | 1 | -0/+7 |
| | | |||||
* | | Merge 3.2. | Stefan Krah | 2012-08-20 | 1 | -0/+5 |
|\ \ | |/ | |||||
| * | Issue #15732: Fix (constructed) crash in _PySequence_BytesToCharpArray(). | Stefan Krah | 2012-08-20 | 1 | -0/+5 |
| | | | | | | | | Found by Coverity. | ||||
* | | Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays. | Stefan Krah | 2012-07-28 | 1 | -56/+0 |
| | | |||||
* | | Issue #2377: Make importlib the implementation of __import__(). | Brett Cannon | 2012-04-14 | 1 | -0/+29 |
| | | | | | | | | | | | | | | importlib._bootstrap is now frozen into Python/importlib.h and stored as _frozen_importlib in sys.modules. Py_Initialize() loads the frozen code along with sys and imp and then uses _frozen_importlib._install() to set builtins.__import__() w/ _frozen_importlib.__import__(). | ||||
* | | long() -> int() | Benjamin Peterson | 2012-03-21 | 1 | -2/+2 |
| | | |||||
* | | make _PyNumber_ConvertIntegralToInt static, since it's only used in abstract.c | Benjamin Peterson | 2012-03-21 | 1 | -4/+10 |
| | | |||||
* | | rewrite this function, which was still accounting for classic classes | Benjamin Peterson | 2012-03-21 | 1 | -24/+12 |
| | | |||||
* | | correctly lookup __trunc__ in int() constructor | Benjamin Peterson | 2012-03-21 | 1 | -2/+3 |
| | | |||||
* | | some more identifier goodness | Benjamin Peterson | 2012-03-21 | 1 | -27/+8 |
| | | |||||
* | | Whitespace. | Stefan Krah | 2012-03-06 | 1 | -1/+1 |
| | | |||||
* | | - Issue #10181: New memoryview implementation fixes multiple ownership | Stefan Krah | 2012-02-25 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and lifetime issues of dynamically allocated Py_buffer members (#9990) as well as crashes (#8305, #7433). Many new features have been added (See whatsnew/3.3), and the documentation has been updated extensively. The ndarray test object from _testbuffer.c implements all aspects of PEP-3118, so further development towards the complete implementation of the PEP can proceed in a test-driven manner. Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review and many ideas. - Issue #12834: Fix incorrect results of memoryview.tobytes() for non-contiguous arrays. - Issue #5231: Introduce memoryview.cast() method that allows changing format and shape without making a copy of the underlying memory. | ||||
* | | use the static identifier api for looking up special methods | Benjamin Peterson | 2012-01-22 | 1 | -8/+8 |
| | | | | | | | | | | I had to move the static identifier code from unicodeobject.h to object.h in order for this to work. | ||||
* | | Add a separate NEWS entry for a change to PyObject_CallMethod in the PEP 380 ↵ | Nick Coghlan | 2012-01-14 | 1 | -2/+0 |
| | | | | | | | | patch, and make the private CallMethod variants consistent with the public one | ||||
* | | Implement PEP 380 - 'yield from' (closes #11682) | Nick Coghlan | 2012-01-13 | 1 | -2/+0 |
| | | |||||
* | | fix weird indentation | Benjamin Peterson | 2011-12-28 | 1 | -1/+1 |
| | | |||||
* | | Use the new Unicode API | Victor Stinner | 2011-11-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | * Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0) * Replce PyUnicode_FromUnicode(str, len) by PyUnicode_FromWideChar(str, len) * Replace Py_UNICODE by wchar_t * posix_putenv() uses PyUnicode_FromFormat() to create the string, instead of PyUnicode_FromUnicode() + _snwprintf() | ||||
* | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -3/+3 |
| | | |||||
* | | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 1 | -36/+75 |
| | | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | ||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -3/+1 |
| | | |||||
* | | Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. | Brian Curtin | 2011-08-11 | 1 | -2/+1 |
| | | | | | | | | The macro was introduced in #12724. | ||||
* | | Close #10616: mention bytes and bytearray in PyObject_AsCharBuffer() error | Victor Stinner | 2011-05-30 | 1 | -1/+2 |
| | | | | | | | | message | ||||
* | | Issue #7330, #10833: Replace %100s by %.100s and %200s by %.200s | Victor Stinner | 2011-03-22 | 1 | -1/+1 |
|/ | | | | | I suppose that the author would like to truncate the type name, not get a string of 100/200 characters. |