summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge 3.5 (issue #27942)Yury Selivanov2016-11-091-0/+2
|\ \ \ \ | |/ / /
| * | | ssue #27942: Fix memory leak in codeobject.cYury Selivanov2016-11-091-0/+2
| | | |
* | | | Issue #28003: Make WrappedVal, ASend and AThrow GC typesYury Selivanov2016-11-091-14/+48
| | | |
* | | | Merge 3.5Yury Selivanov2016-11-091-2/+2
|\ \ \ \ | |/ / /
| * | | genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapperYury Selivanov2016-11-091-2/+2
| | | |
* | | | Closes #27781: Removes special cases for the experimental aspect of PEP 529Steve Dower2016-11-071-10/+1
| | | |
* | | | merge 3.5Benjamin Peterson2016-11-061-0/+9
|\ \ \ \ | |/ / /
| * | | make sure dict view types are initializedBenjamin Peterson2016-11-061-0/+9
| | | |
* | | | Issue #23996: Added _PyGen_SetStopIterationValue for safe raisingSerhiy Storchaka2016-11-061-21/+51
|\ \ \ \ | |/ / / | | | | | | | | | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue.
| * | | Issue #23996: Added _PyGen_SetStopIterationValue for safe raisingSerhiy Storchaka2016-11-061-10/+50
| | | | | | | | | | | | | | | | | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue.
* | | | Issue #28123: _PyDict_GetItem_KnownHash() now can raise an exception asSerhiy Storchaka2016-11-061-26/+22
| | | | | | | | | | | | | | | | PyDict_GetItemWithError(). Patch by Xiang Zhang.
* | | | Issue #28583: PyDict_SetDefault didn't combine split table when needed.INADA Naoki2016-11-021-15/+45
| | | | | | | | | | | | | | | | Patch by Xiang Zhang.
* | | | Issue 28128: Print out better error/warning messages for invalid string ↵Eric V. Smith2016-10-312-10/+65
| | | | | | | | | | | | | | | | escapes. Backport to 3.6.
* | | | Backed out changeset 6b88dfc7b25dSerhiy Storchaka2016-10-311-63/+60
| | | |
* | | | Issue #28385: An error message when non-empty format spec is passed toSerhiy Storchaka2016-10-301-19/+9
|\ \ \ \ | |/ / / | | | | | | | | object.__format__ now contains the name of actual type.
| * | | Issue #28385: An error message when non-empty format spec is passed toSerhiy Storchaka2016-10-301-19/+9
| | | | | | | | | | | | | | | | object.__format__ now contains the name of actual type.
* | | | Issue #28561: Clean up UTF-8 encoder: remove dead code, update comments, etc.Serhiy Storchaka2016-10-301-10/+4
| | | | | | | | | | | | | | | | Patch by Xiang Zhang.
* | | | Merge from 3.5.Serhiy Storchaka2016-10-301-7/+22
|\ \ \ \ | |/ / /
| * | | Backed out changeset 9f7505019767 (issue #27275).Serhiy Storchaka2016-10-301-7/+22
| | | |
* | | | Issue #28199: Microoptimized dict resizing. Based on patch by Naoki Inada.Serhiy Storchaka2016-10-291-60/+63
| | | |
* | | | Issue #28544: Pass `PyObject*` to _PyDict_Pop, not `PyDictObject*`Yury Selivanov2016-10-281-2/+6
| | | |
* | | | Issue #28426: Deprecated undocumented functions PyUnicode_AsEncodedObject(),Serhiy Storchaka2016-10-271-0/+21
| | | | | | | | | | | | | | | | | | | | PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and PyUnicode_AsEncodedUnicode().
* | | | Issue #28509: dict.update() no longer allocate unnecessary large memoryINADA Naoki2016-10-271-2/+4
| | | |
* | | | Issue #27275: Fixed implementation of pop() and popitem() methods inSerhiy Storchaka2016-10-251-22/+7
|\ \ \ \ | |/ / / | | | | | | | | subclasses of accelerated OrderedDict.
| * | | Issue #27275: Fixed implementation of pop() and popitem() methods inSerhiy Storchaka2016-10-251-22/+7
| | | | | | | | | | | | | | | | subclasses of accelerated OrderedDict.
* | | | Issue #28408: Fixed a leak and remove redundant code in ↵Serhiy Storchaka2016-10-251-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | _PyUnicodeWriter_Finish(). Patch by Xiang Zhang.
* | | | Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug ↵Serhiy Storchaka2016-10-251-10/+2
|\ \ \ \ | |/ / / | | | | | | | | build.
| * | | Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug ↵Serhiy Storchaka2016-10-251-10/+2
| |\ \ \ | | |/ / | | | | | | | | build.
| | * | Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug ↵Serhiy Storchaka2016-10-251-10/+2
| | | | | | | | | | | | | | | | build.
* | | | Issue #28214: Improved exception reporting for problematic __set_name__Serhiy Storchaka2016-10-211-1/+6
| | | | | | | | | | | | | | | | attributes.
* | | | Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raisingSerhiy Storchaka2016-10-213-47/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new exception with setting current exception as __cause__. _PyErr_FormatFromCause(exception, format, args...) is equivalent to Python raise exception(format % args) from sys.exc_info()[1]
* | | | merge 3.5 (#28454)Benjamin Peterson2016-10-161-4/+4
|\ \ \ \ | |/ / /
| * | | remove extra PyErr_Format arguments (closes #28454)Benjamin Peterson2016-10-161-4/+4
| | | | | | | | | | | | | | | | Patch from Xiang Zhang.
* | | | Check return value of _PyDict_SetItemId()Christian Heimes2016-10-131-1/+4
| | | |
* | | | Fix _Py_normalize_encoding() commandVictor Stinner2016-10-121-3/+3
| | | | | | | | | | | | | | | | | | | | It's not exactly the same than encodings.normalize_encoding(): the C function also converts to lowercase.
* | | | va_end vargs2 once (closes #28417)Benjamin Peterson2016-10-121-1/+0
| | | |
* | | | - dictobject.c: Make dict_merge symbol a static symboldoko@ubuntu.com2016-10-111-1/+1
| | | |
* | | | Issue #28183: Optimize and cleanup dict iteration.Serhiy Storchaka2016-10-091-109/+106
| | | |
* | | | Merge from 3.5.Serhiy Storchaka2016-10-081-3/+7
|\ \ \ \ | |/ / /
| * | | Issue #28379: Added sanity checks and tests for PyUnicode_CopyCharacters().Serhiy Storchaka2016-10-081-3/+7
| | | | | | | | | | | | | | | | Patch by Xiang Zhang.
* | | | Issue #28376: Creating instances of range_iterator by calling range_iteratorSerhiy Storchaka2016-10-081-0/+7
| | | | | | | | | | | | | | | | type now is deprecated. Patch by Oren Milman.
* | | | Merge from 3.5.Serhiy Storchaka2016-10-081-3/+11
|\ \ \ \ | |/ / /
| * | | Issue #28376: The constructor of range_iterator now checks that step is not 0.Serhiy Storchaka2016-10-081-3/+11
| | | | | | | | | | | | | | | | Patch by Oren Milman.
* | | | Issue #26906: Resolving special methods of uninitialized type now causesSerhiy Storchaka2016-10-081-5/+19
|\ \ \ \ | |/ / / | | | | | | | | implicit initialization of the type instead of a fail.
| * | | Issue #26906: Resolving special methods of uninitialized type now causesSerhiy Storchaka2016-10-081-5/+19
| | | | | | | | | | | | | | | | implicit initialization of the type instead of a fail.
* | | | Issue #18287: PyType_Ready() now checks that tp_name is not NULL.Serhiy Storchaka2016-10-071-0/+6
|\ \ \ \ | |/ / / | | | | | | | | Original patch by Niklas Koep.
| * | | Issue #18287: PyType_Ready() now checks that tp_name is not NULL.Serhiy Storchaka2016-10-071-0/+6
| | | | | | | | | | | | | | | | Original patch by Niklas Koep.
| * | | Merge headsSerhiy Storchaka2016-10-041-12/+13
| |\ \ \
* | | | | Issue #28201: Dict reduces possibility of 2nd conflict in hash table.INADA Naoki2016-10-061-16/+22
| | | | | | | | | | | | | | | | | | | | Do perturb shift after first conflict.
* | | | | Issue #28350: String constants with null character no longer interned.Serhiy Storchaka2016-10-041-8/+8
|\ \ \ \ \ | |/ / / /