Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #14288: Serialization support for builtin iterators. | Kristján Valur Jónsson | 2012-04-03 | 10 | -6/+509 |
| | |||||
* | merge 3.2 | Benjamin Peterson | 2012-04-01 | 1 | -13/+9 |
|\ | |||||
| * | adjust formatting | Benjamin Peterson | 2012-04-01 | 1 | -5/+5 |
| | | |||||
| * | remove extraneous condition | Benjamin Peterson | 2012-04-01 | 1 | -6/+4 |
| | | |||||
| * | merge heads | Benjamin Peterson | 2012-04-01 | 1 | -2/+6 |
| |\ | |||||
| * | | be consistent with rest of function | Benjamin Peterson | 2012-04-01 | 1 | -2/+1 |
| | | | |||||
* | | | Issue #13019: Fix potential reference leaks in bytearray.extend(). | Antoine Pitrou | 2012-04-01 | 1 | -2/+6 |
|\ \ \ | | |/ | |/| | | | | Patch by Suman Saha. | ||||
| * | | Issue #13019: Fix potential reference leaks in bytearray.extend(). | Antoine Pitrou | 2012-04-01 | 1 | -2/+6 |
| |/ | | | | | | | Patch by Suman Saha. | ||||
* | | Issue #14435: Remove special block allocation code from floatobject.c | Kristján Valur Jónsson | 2012-03-30 | 1 | -131/+27 |
| | | | | | | | | | | | | PyFloatObjects are now allocated using PyObject_MALLOC like all other internal types, but maintain a limited freelist of objects at hand for performance. This will result in more consistent memory usage by Python. | ||||
* | | Issue #14383: Add _PyDict_GetItemId() and _PyDict_SetItemId() functions | Victor Stinner | 2012-03-26 | 2 | -118/+105 |
| | | | | | | | | | | These functions simplify the usage of static constant Unicode strings. Generalize the usage of _Py_Identifier in ceval.c and typeobject.c. | ||||
* | | grammar | Benjamin Peterson | 2012-03-26 | 1 | -1/+1 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2012-03-26 | 1 | -4/+0 |
|\ \ | |/ | |||||
| * | kill this terribly outdated comment | Benjamin Peterson | 2012-03-26 | 1 | -4/+0 |
| | | |||||
* | | Issue #14387: Do not include accu.h from Python.h. | Antoine Pitrou | 2012-03-22 | 4 | -0/+4 |
|\ \ | |/ | |||||
| * | Issue #14387: Do not include accu.h from Python.h. | Antoine Pitrou | 2012-03-22 | 3 | -0/+3 |
| | | |||||
* | | Micro-optimize PyObject_GetAttrString() | Victor Stinner | 2012-03-22 | 1 | -1/+1 |
| | | | | | | | | w cannot be NULL so use Py_DECREF() instead of Py_XDECREF(). | ||||
* | | 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 |
| | | |||||
* | | make extra arguments to object.__init__/__new__ to errors in most cases ↵ | Benjamin Peterson | 2012-03-17 | 1 | -35/+10 |
| | | | | | | | | (finishes #1683368) | ||||
* | | simply this slightly | Benjamin Peterson | 2012-03-17 | 1 | -9/+6 |
| | | |||||
* | | merge 3.2 (#14334) | Benjamin Peterson | 2012-03-16 | 1 | -0/+7 |
|\ \ | |/ | |||||
| * | check to make sure the attribute is a string (#14334) | Benjamin Peterson | 2012-03-16 | 1 | -0/+7 |
| | | |||||
* | | space | Benjamin Peterson | 2012-03-15 | 1 | -1/+1 |
| | | |||||
* | | perform yield from delegation by repeating YIELD_FROM opcode (closes #14230) | Benjamin Peterson | 2012-03-15 | 2 | -124/+59 |
| | | | | | | | | | | | | | | This allows generators that are using yield from to be seen by debuggers. It also kills the f_yieldfrom field on frame objects. Patch mostly from Mark Shannon with a few tweaks by me. | ||||
* | | Close #14232: catch mmap() failure in new_arena() of obmalloc | Victor Stinner | 2012-03-09 | 1 | -3/+8 |
| | | |||||
* | | refactor and avoid warnings | Benjamin Peterson | 2012-03-09 | 1 | -7/+5 |
| | | |||||
* | | Issue #14211: _PyObject_GenericSetAttrWithDict() keeps a strong reference to | Victor Stinner | 2012-03-08 | 1 | -4/+5 |
| | | | | | | | | | | the descriptor because it may be destroyed before being used, destroyed during the update of the dict for example. | ||||
* | | Close #14199: _PyType_Lookup() and super_getattro() keep a strong reference to | Victor Stinner | 2012-03-08 | 1 | -0/+9 |
| | | | | | | | | the type MRO to avoid a crash if the MRO is changed during the lookup. | ||||
* | | merge 3.2 (#3787e896dbe9) | Benjamin Peterson | 2012-03-08 | 1 | -2/+7 |
|\ \ | |/ | |||||
| * | allow cycles throught the __dict__ slot to be cleared (closes #1469629) | Benjamin Peterson | 2012-03-08 | 1 | -2/+7 |
| | | | | | | | | Patch from Armin, test from me. | ||||
* | | make gi_running a boolean | Benjamin Peterson | 2012-03-08 | 1 | -1/+1 |
| | | |||||
* | | indicate we're not running as we leave this block | Benjamin Peterson | 2012-03-08 | 1 | -0/+1 |
| | | |||||
* | | make delegating generators say they running (closes #14220) | Benjamin Peterson | 2012-03-07 | 1 | -14/+37 |
| | | |||||
* | | Whitespace. | Stefan Krah | 2012-03-06 | 1 | -1/+1 |
| | | |||||
* | | Remove an unused variable | Victor Stinner | 2012-03-06 | 1 | -1/+0 |
| | | |||||
* | | Close #14205: dict lookup raises a RuntimeError if the dict is modified during | Victor Stinner | 2012-03-06 | 1 | -12/+6 |
| | | | | | | | | | | | | | | a lookup. "if you want to make a sandbox on top of CPython, you have to fix segfaults" so let's fix segfaults! | ||||
* | | Merge. | Stefan Krah | 2012-03-05 | 1 | -1/+0 |
|\ \ | |||||
| * | | remove f_yieldfrom access from Python (closes #13970) | Benjamin Peterson | 2012-03-05 | 1 | -1/+0 |
| | | | |||||
* | | | Issue #14181: Preserve backwards compatibility for getbufferprocs that a) do | Stefan Krah | 2012-03-05 | 1 | -1/+1 |
|/ / | | | | | | | | | not adhere to the new documentation and b) manage to clobber view->obj before returning failure. | ||||
* | | Issue #14181: Allow memoryview construction from an object that uses the | Stefan Krah | 2012-03-05 | 1 | -3/+0 |
| | | | | | | | | getbuffer redirection scheme. | ||||
* | | Close #14085: remove assertions from PyUnicode_WRITE macro | Victor Stinner | 2012-03-04 | 1 | -1/+10 |
| | | | | | | | | | | Add checks in PyUnicode_WriteChar() and convert PyUnicode_New() assertion to a test raising a Python exception. | ||||
* | | Issue #13521: dict.setdefault() now does only one lookup for the given key, ↵ | Antoine Pitrou | 2012-02-26 | 1 | -42/+70 |
|\ \ | |/ | | | | | | | | | making it "atomic" for many purposes. Patch by Filip Gruszczyński. | ||||
| * | Issue #13521: dict.setdefault() now does only one lookup for the given key, ↵ | Antoine Pitrou | 2012-02-26 | 1 | -42/+70 |
| | | | | | | | | | | | | making it "atomic" for many purposes. Patch by Filip Gruszczyński. | ||||
* | | Close issue #6210: Implement PEP 409 | Nick Coghlan | 2012-02-26 | 1 | -11/+18 |
| | | |||||
* | | #14081: The sep and maxsplit parameter to str.split, bytes.split, and ↵ | Ezio Melotti | 2012-02-26 | 3 | -24/+36 |
| | | | | | | | | bytearray.split may now be passed as keyword arguments. | ||||
* | | - Issue #10181: New memoryview implementation fixes multiple ownership | Stefan Krah | 2012-02-25 | 3 | -570/+2312 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Close #14095: type.__new__() doesn't remove __qualname__ key from the class | Victor Stinner | 2012-02-25 | 1 | -85/+70 |
| | | | | | | | | | | dict anymore if the key is present. Reject also non-string qualified names. And fix reference leaks in type.__new__(). |