Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix indentation of comments in cellobject.c (closes #27011) | Benjamin Peterson | 2016-05-13 | 1 | -3/+3 |
| | |||||
* | Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses. | Serhiy Storchaka | 2016-05-12 | 1 | -21/+3 |
| | |||||
* | Issue #17765: weakref.ref() no longer silently ignores keyword arguments. | Serhiy Storchaka | 2016-05-07 | 1 | -1/+3 |
| | | | | Patch by Georg Brandl. | ||||
* | Issue #26811: gc.get_objects() no longer contains a broken tuple with NULL | Serhiy Storchaka | 2016-05-04 | 1 | -15/+15 |
| | | | | pointer. | ||||
* | Fix spelling (inital), grammar (may translates) in documentation, comments | Martin Panter | 2016-04-19 | 1 | -2/+2 |
| | |||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 3 | -3/+3 |
| | |||||
* | fix slice cache finalization to use gc del | Benjamin Peterson | 2016-04-16 | 1 | -1/+1 |
| | |||||
* | add gc support to slice (closes #26659) | Benjamin Peterson | 2016-04-16 | 1 | -4/+15 |
| | |||||
* | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 2 | -2/+2 |
| | | | | This affects documentation, code comments, and a debugging messages. | ||||
* | Issue #26718: super.__init__ no longer leaks memory if called multiple times. | Serhiy Storchaka | 2016-04-13 | 1 | -3/+3 |
| | | | | NOTE: A direct call of super.__init__ is not endorsed! | ||||
* | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 5 | -10/+10 |
| | | | | in places where Py_DECREF was used. | ||||
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 9 | -36/+36 |
| | |||||
* | Issue #26494: Fixed crash on iterating exhausting iterators. | Serhiy Storchaka | 2016-03-30 | 8 | -16/+22 |
| | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator. | ||||
* | merge 3.4 (closes #26478) | Benjamin Peterson | 2016-03-04 | 1 | -5/+4 |
|\ | |||||
| * | properly use the ObjArgs variant of CallMethod in dictview binary operations ↵ | Benjamin Peterson | 2016-03-04 | 1 | -5/+4 |
| | | | | | | | | (closes #26478) | ||||
* | | coroutines: Error when awaiting on coroutine that's being awaited | Yury Selivanov | 2016-03-02 | 1 | -6/+6 |
| | | | | | | | | Issue #25888 | ||||
* | | Issue #26464: Fix unicode_fast_translate() again | Victor Stinner | 2016-03-01 | 1 | -9/+12 |
| | | | | | | | | Initialize i variable if the string is non-ASCII. | ||||
* | | Fix str.translate() | Victor Stinner | 2016-03-01 | 1 | -3/+4 |
| | | | | | | | | | | | | Issue #26464: Fix str.translate() when string is ASCII and first replacements removes character, but next replacement uses a non-ASCII character or a string longer than 1 character. Regression introduced in Python 3.5.0. | ||||
* | | Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once. | Yury Selivanov | 2016-02-13 | 1 | -12/+21 |
| | | |||||
* | | Fix resize_compact() | Victor Stinner | 2016-01-27 | 1 | -0/+2 |
| | | | | | | | | | | Issue #26217: resize_compact() must set wstr_length to 0 after freeing the wstr string. Otherwise, an assertion fails in _PyUnicode_CheckConsistency(). | ||||
* | | code_richcompare() now uses the constants types | Victor Stinner | 2016-01-22 | 1 | -1/+138 |
| | | | | | | | | | | | | | | | | | | Issue #25843: When compiling code, don't merge constants if they are equal but have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now correctly compiled to two different functions: f1() returns 1 (int) and f2() returns 1.0 (int), even if 1 and 1.0 are equal. Add a new _PyCode_ConstantKey() private function. | ||||
* | | Add _PyThreadState_UncheckedGet() | Victor Stinner | 2016-01-20 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26154: Add a new private _PyThreadState_UncheckedGet() function which gets the current thread state, but don't call Py_FatalError() if it is NULL. Python 3.5.1 removed the _PyThreadState_Current symbol from the Python C API to no more expose complex and private atomic types. Atomic types depends on the compiler or can even depend on compiler options. The new function _PyThreadState_UncheckedGet() allows to get the variable value without having to care of the exact implementation of atomic types. Changes: * Replace direct usage of the _PyThreadState_Current variable with a call to _PyThreadState_UncheckedGet(). * In pystate.c, replace direct usage of the _PyThreadState_Current variable with the PyThreadState_GET() macro for readability. * Document also PyThreadState_Get() in pystate.h | ||||
* | | Issue #25935: Garbage collector now breaks reference loops with OrderedDict. | Serhiy Storchaka | 2016-01-19 | 1 | -13/+14 |
| | | |||||
* | | set tp_new from the class in the hierarchy that actually owns the descriptor ↵ | Benjamin Peterson | 2016-01-19 | 1 | -1/+1 |
| | | | | | | | | | | | | (closes #25731) Debugging by Eryk Sun. | ||||
* | | dictobject.c(dict_sizeof): Make it static again. | doko@ubuntu.com | 2016-01-14 | 1 | -1/+1 |
| | | |||||
* | | Comment out some tests that won't pass now that we've reverted the | Barry Warsaw | 2016-01-11 | 1 | -27/+0 |
| | | | | | | | | | | picklability regression. Also, as per further discussion, remove the regressing code. | ||||
* | | Issue #22995: [UPDATE] Comment out the one of the pickleability tests in | Barry Warsaw | 2016-01-11 | 1 | -0/+9 |
| | | | | | | | | _PyObject_GetState() due to regressions observed in Cython-based projects. | ||||
* | | merge 3.4 | Benjamin Peterson | 2016-01-01 | 1 | -3/+0 |
|\ \ | |/ | |||||
| * | merge 3.3 | Benjamin Peterson | 2016-01-01 | 1 | -3/+0 |
| |\ | |||||
| | * | remove some copyright notices supserseded by the toplevel ones | Benjamin Peterson | 2016-01-01 | 1 | -3/+0 |
| | | | |||||
* | | | Issue #25961: Disallowed null characters in the type name. | Serhiy Storchaka | 2015-12-30 | 1 | -28/+17 |
| | | | | | | | | | | | | Simplified testing for null characters in __name__ setter. | ||||
* | | | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 2 | -10/+11 |
| | | | | | | | | | | | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | ||||
* | | | Issue #20440: Applied yet one patch for using Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 2 | -37/+23 |
| | | | | | | | | | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR. | ||||
* | | | Issue #22995: Instances of extension types with a state that aren't | Serhiy Storchaka | 2015-12-25 | 1 | -15/+36 |
| | | | | | | | | | | | | | | | | | | subclasses of list or dict and haven't implemented any pickle-related methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no longer be pickled. Including memoryview. | ||||
* | | | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 9 | -36/+18 |
| | | | | | | | | | | | | macro Py_SETREF. | ||||
* | | | Issue #25914: Fixed and simplified OrderedDict.__sizeof__. | Serhiy Storchaka | 2015-12-22 | 2 | -24/+10 |
| | | | |||||
* | | | Issue #25766: Special method __bytes__() now works in str subclasses. | Serhiy Storchaka | 2015-12-20 | 1 | -6/+12 |
| | | | |||||
* | | | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. | Serhiy Storchaka | 2015-12-19 | 6 | -7/+5 |
| | | | | | | | | | | | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. | ||||
* | | | Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache. | Serhiy Storchaka | 2015-12-02 | 1 | -0/+5 |
|\ \ \ | |/ / | |||||
| * | | Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache. | Serhiy Storchaka | 2015-12-02 | 1 | -0/+5 |
| | | | |||||
* | | | Issue #24097: Fixed crash in object.__reduce__() if slot name is freed inside | Serhiy Storchaka | 2015-11-25 | 1 | -0/+3 |
|\ \ \ | |/ / | | | | | | | __getattr__. Original patch by Antoine Pitrou. | ||||
| * | | Issue #24097: Fixed crash in object.__reduce__() if slot name is freed inside | Serhiy Storchaka | 2015-11-25 | 1 | -0/+3 |
| | | | | | | | | | | | | __getattr__. Original patch by Antoine Pitrou. | ||||
* | | | Issue #24731: Fixed crash on converting objects with special methods | Serhiy Storchaka | 2015-11-25 | 3 | -6/+6 |
|\ \ \ | |/ / | | | | | | | | | | __bytes__, __trunc__, and __float__ returning instances of subclasses of bytes, int, and float to subclasses of bytes, int, and float correspondingly. | ||||
| * | | Issue #24731: Fixed crash on converting objects with special methods | Serhiy Storchaka | 2015-11-25 | 3 | -6/+6 |
| | | | | | | | | | | | | | | | __bytes__, __trunc__, and __float__ returning instances of subclasses of bytes, int, and float to subclasses of bytes, int, and float correspondingly. | ||||
* | | | make the PyUnicode_FSConverter cleanup set the decrefed argument to NULL ↵ | Benjamin Peterson | 2015-11-16 | 1 | -0/+1 |
| | | | | | | | | | | | | (closes #25630) | ||||
* | | | Issue #25462: The hash of the key now is calculated only once in most | Serhiy Storchaka | 2015-11-13 | 1 | -35/+83 |
| | | | | | | | | | | | | operations in C implementation of OrderedDict. | ||||
* | | | Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now | Serhiy Storchaka | 2015-11-12 | 1 | -0/+6 |
|\ \ \ | |/ / | | | | | | | | | | rejects builtin types with not defined __new__. Added tests for non-pickleable types. | ||||
| * | | Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now | Serhiy Storchaka | 2015-11-12 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | rejects builtin types with not defined __new__. Added tests for non-pickleable types. | ||||
* | | | Fix Visual Studio warning. | Stefan Krah | 2015-11-10 | 1 | -1/+1 |
| | | | |||||
* | | | Iaaue #25598: Fix memory_hex from #9951 for non-contiguous buffers. | Stefan Krah | 2015-11-10 | 1 | -1/+16 |
| | | |