Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-28856: Let %b format for bytes support objects that follow the buffer ↵ | Xiang Zhang | 2017-03-14 | 1 | -1/+14 |
| | | | | protocol (GH-664) | ||||
* | Fix wrapping into StopIteration of return values in generators and ↵ | Yury Selivanov | 2017-03-12 | 1 | -2/+1 |
| | | | | coroutines (#644) (#647) | ||||
* | [3.6] bpo-29714: Fix a regression that bytes format may fail when containing ↵ | Xiang Zhang | 2017-03-06 | 1 | -2/+2 |
| | | | | | | zero bytes inside. (GH-504) | ||||
* | bpo-29683 - Fixes to _PyCode_SetExtra when co_extra->ce->extras is (#402) | Brian Coleman | 2017-03-02 | 1 | -10/+14 |
| | | | | | | | | allocated. On PyMem_Realloc failure, _PyCode_SetExtra should free co_extra if co_extra->ce_extras could not be allocated. On PyMem_Realloc success, _PyCode_SetExtra should set all unused slots in co_extra->ce_extras to NULL. | ||||
* | bpo-29602: fix signed zero handling in complex constructor. (#203) (#206) | Mark Dickinson | 2017-02-20 | 1 | -3/+3 |
| | | | | | | | * Fix incorrect handling of signed zeros for complex-related classes. * Add Misc/NEWS entry. (cherry picked from commit 112ec38c15b388fe025ccb85369a584d218b1160) | ||||
* | bpo-24274: fix erroneous comment in dictobject.c (GH-200) | INADA Naoki | 2017-02-20 | 1 | -1/+2 |
| | | | | lookdict_unicode() and lookdict_unicode_nodummy() may raise exception when key is not unicode. | ||||
* | bpo-29347: Fix possibly dereferencing undefined pointers when creating ↵ | Xiang Zhang | 2017-02-20 | 1 | -0/+2 |
| | | | | weakref objects (#128) (#186) | ||||
* | bpo-29438: fixed use-after-free in key sharing dict (#39) | INADA Naoki | 2017-02-13 | 1 | -3/+7 |
| | |||||
* | Issue #27867: Function PySlice_GetIndicesEx() is replaced with a macro if | Serhiy Storchaka | 2017-01-25 | 1 | -24/+54 |
|\ | | | | | | | | | Py_LIMITED_API is not set or set to the value between 0x03050400 and 0x03060000 (not including) or 0x03060100 or higher. | ||||
| * | Issue #27867: Function PySlice_GetIndicesEx() is replaced with a macro if | Serhiy Storchaka | 2017-01-25 | 1 | -24/+54 |
| | | | | | | | | | | Py_LIMITED_API is not set or set to the value between 0x03050400 and 0x03060000 (not including) or 0x03060100 or higher. | ||||
* | | Issue #29337: Fixed possible BytesWarning when compare the code objects. | Serhiy Storchaka | 2017-01-24 | 1 | -3/+3 |
|\ \ | |/ | | | | | Warnings could be emitted at compile time. | ||||
| * | Issue #29337: Fixed possible BytesWarning when compare the code objects. | Serhiy Storchaka | 2017-01-24 | 1 | -3/+3 |
| | | | | | | | | Warnings could be emitted at compile time. | ||||
* | | Merge doc fixes from 3.5 | Martin Panter | 2017-01-14 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix grammar, typos and markup in documentation and code comments | Martin Panter | 2017-01-14 | 1 | -1/+1 |
| | | | | | | | | | | | | * Indent versionchanged at method level, not class level * Mark up ``--help`` to avoid generating an en dash * Use forward slash in Unix command line with a dollar sign ($) prompt | ||||
* | | Issue #28969: Fixed race condition in C implementation of functools.lru_cache. | Serhiy Storchaka | 2017-01-12 | 1 | -8/+23 |
|\ \ | |/ | | | | | | | KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments. | ||||
| * | Issue #28969: Fixed race condition in C implementation of functools.lru_cache. | Serhiy Storchaka | 2017-01-12 | 1 | -8/+23 |
| | | | | | | | | | | KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments. | ||||
* | | Issue #29145: Merge 3.5. | Xiang Zhang | 2017-01-10 | 1 | -6/+8 |
|\ \ | |/ | |||||
| * | Issue #29145: Fix overflow checks in str.replace() and str.join(). | Xiang Zhang | 2017-01-10 | 1 | -6/+8 |
| | | | | | | | | Based on patch by Martin Panter. | ||||
* | | Issue #29159: Fix regression in bytes(x) when x.__index__() raises Exception. | INADA Naoki | 2017-01-06 | 2 | -17/+25 |
| | | |||||
* | | Merge 3.5. | Stefan Krah | 2016-12-30 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #29111: Fix memoryview signature. | Stefan Krah | 2016-12-30 | 1 | -1/+1 |
| | | |||||
| * | Issue #29073: bytearray formatting no longer truncates on first null byte. | Serhiy Storchaka | 2016-12-28 | 1 | -1/+3 |
| | | |||||
* | | Issue #28427: old keys should not remove new values from | Antoine Pitrou | 2016-12-27 | 1 | -17/+74 |
|\ \ | |/ | | | | | WeakValueDictionary when collecting from another thread. | ||||
| * | Issue #28427: old keys should not remove new values from | Antoine Pitrou | 2016-12-27 | 1 | -25/+56 |
| | | | | | | | | WeakValueDictionary when collecting from another thread. | ||||
* | | Issue #29044: Merge 3.5. | Xiang Zhang | 2016-12-22 | 1 | -3/+4 |
|\ \ | |/ | |||||
| * | Issue #29044: Fix a use-after-free in string '%c' formatter. | Xiang Zhang | 2016-12-22 | 1 | -3/+4 |
| | | |||||
| * | Issue #28147: Fix a memory leak in split-table dictionaries | INADA Naoki | 2016-12-20 | 1 | -6/+15 |
| | | | | | | | | setattr() must not convert combined table into split table. | ||||
* | | Issue #29000: Fixed bytes formatting of octals with zero padding in alternate | Serhiy Storchaka | 2016-12-17 | 1 | -3/+2 |
|\ \ | |/ | | | | | form. | ||||
| * | Issue #29000: Fixed bytes formatting of octals with zero padding in alternate | Serhiy Storchaka | 2016-12-17 | 1 | -3/+2 |
| | | | | | | | | form. | ||||
* | | Issue #26919: On Android, operating system data is now always encoded/decoded | Xavier de Gaye | 2016-12-15 | 1 | -3/+3 |
| | | | | | | | | | | to/from UTF-8, instead of the locale encoding to avoid inconsistencies with os.fsencode() and os.fsdecode() which are already using UTF-8. | ||||
* | | Fix a memory leak in split-table dictionaries | Victor Stinner | 2016-12-15 | 1 | -5/+22 |
| | | | | | | | | | | | | | | Issue #28147: Fix a memory leak in split-table dictionaries: setattr() must not convert combined table into split table. Patch written by INADA Naoki. | ||||
* | | Merge from 3.6. | Serhiy Storchaka | 2016-12-14 | 1 | -28/+1 |
|\ \ | |/ | |||||
| * | Revert changeset 1f31bf3f76f5 (issue5322) except tests. | Serhiy Storchaka | 2016-12-14 | 1 | -28/+1 |
| | | |||||
* | | Fix typos in comment and documentation | Martin Panter | 2016-12-10 | 1 | -1/+1 |
| | | |||||
* | | Issue #28731: Optimize _PyDict_NewPresized() to create correct size dict. | INADA Naoki | 2016-12-07 | 1 | -5/+19 |
| | | | | | | | | Improve speed of dict literal with constant keys up to 30%. | ||||
* | | Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code. | Serhiy Storchaka | 2016-12-07 | 1 | -1/+28 |
|\ \ | |/ | | | | | Original patch by Andreas Stührk. | ||||
| * | Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code. | Serhiy Storchaka | 2016-12-02 | 1 | -1/+28 |
| | | | | | | | | Original patch by Andreas Stührk. | ||||
* | | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | Serhiy Storchaka | 2016-12-05 | 1 | -2/+16 |
|\ \ | |/ | |||||
| * | Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions. | Serhiy Storchaka | 2016-12-05 | 1 | -2/+16 |
| | | |||||
* | | Issue #23722: improve __classcell__ compatibility | Nick Coghlan | 2016-12-05 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handling zero-argument super() in __init_subclass__ and __set_name__ involved moving __class__ initialisation to type.__new__. This requires cooperation from custom metaclasses to ensure that the new __classcell__ entry is passed along appropriately. The initial implementation of that change resulted in abruptly broken zero-argument super() support in metaclasses that didn't adhere to the new requirements (such as Django's metaclass for Model definitions). The updated approach adopted here instead emits a deprecation warning for those cases, and makes them work the same way they did in Python 3.5. This patch also improves the related class machinery documentation to cover these details and to include more reader-friendly cross-references and index entries. | ||||
* | | Issue #28797: Modifying the class __dict__ inside the __set_name__ method of | Serhiy Storchaka | 2016-11-29 | 1 | -3/+11 |
| | | | | | | | | | | a descriptor that is used inside that class no longer prevents calling the __set_name__ method of other descriptors. | ||||
* | | Fix _PyGen_yf() | Victor Stinner | 2016-11-24 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | Issue #28782: Fix a bug in the implementation ``yield from`` when checking if the next instruction is YIELD_FROM. Regression introduced by WORDCODE (issue #26647). Reviewed by Serhiy Storchaka and Yury Selivanov. | ||||
* | | Issue #28760: Clean up and fix comments in PyUnicode_AsUnicodeEscapeString(). | Serhiy Storchaka | 2016-11-21 | 1 | -10/+4 |
| | | | | | | | | Patch by Xiang Zhang. | ||||
* | | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 6 | -13/+13 |
| | | | | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
* | | Issue #28721: Fix asynchronous generators aclose() and athrow() | Yury Selivanov | 2016-11-16 | 1 | -3/+11 |
| | | |||||
* | | Issue #28701: _PyUnicode_EqualToASCIIId and _PyUnicode_EqualToASCIIString now | Serhiy Storchaka | 2016-11-16 | 1 | -0/+11 |
| | | | | | | | | require ASCII right argument and assert this condition in debug build. | ||||
* | | Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701). | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701). | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
| | | |||||
* | | Issue #21449: Removed private function _PyUnicode_CompareWithId. | Serhiy Storchaka | 2016-11-16 | 1 | -9/+0 |
| | | |||||
* | | Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId. | Serhiy Storchaka | 2016-11-16 | 2 | -6/+44 |
|\ \ | |/ | | | | | | | | | The latter function is more readable, faster and doesn't raise exceptions. Based on patch by Xiang Zhang. |