summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \ \ \ | |/ / /
| * | | Issue #28350: String constants with null character no longer interned.Serhiy Storchaka2016-10-041-8/+8
| | | |
* | | | merge 3.5 (#26617)Benjamin Peterson2016-10-041-12/+13
|\ \ \ \ | | |/ / | |/| |
| * | | ensure gc tracking is off when invoking weakref callbacks (closes #26617)Benjamin Peterson2016-10-041-12/+13
| |/ /
* | | Issue #27358: Optimized merging var-keyword arguments and improved errorSerhiy Storchaka2016-10-021-9/+36
| | | | | | | | | | | | message when pass a non-mapping as a var-keyword argument.
* | | Issue #27942: String constants now interned recursively in tuples and ↵Serhiy Storchaka2016-09-301-7/+45
|\ \ \ | |/ / | | | | | | frozensets.
| * | Issue #27942: String constants now interned recursively in tuples and ↵Serhiy Storchaka2016-09-301-7/+45
| | | | | | | | | | | | frozensets.
* | | Issue #21578: Fixed misleading error message when ImportError called withSerhiy Storchaka2016-09-271-22/+24
|\ \ \ | |/ / | | | | | | invalid keyword args.
| * | Issue #21578: Fixed misleading error message when ImportError called withSerhiy Storchaka2016-09-271-22/+24
| | | | | | | | | | | | invalid keyword args.
* | | Issue #27914: Fixed a comment in PyModule_ExcDef.Serhiy Storchaka2016-09-261-1/+1
| | | | | | | | | | | | Patch by Xiang Zhang.
* | | issue #28144: Decrease empty_keys_struct's dk_refcntSerhiy Storchaka2016-09-261-1/+1
| | | | | | | | | | | | | | | since there is no dummy_struct any more. Patch by Xiang Zhang.
* | | Issue #28194: Clean up some checks in dict implementation.Serhiy Storchaka2016-09-261-10/+11
| | | | | | | | | | | | Patch by Xiang Zhang.
* | | Issue #28203: Merge from 3.5Mark Dickinson2016-09-241-6/+17
|\ \ \ | |/ /
| * | Issue #28203: Fix incorrect type in error message from complex(1.0, {2:3}). ↵Mark Dickinson2016-09-241-6/+17
| | | | | | | | | | | | Patch by Soumya Sharma.
* | | remove unneeded castBenjamin Peterson2016-09-231-1/+1
| | |
* | | Issue #28214: Now __set_name__ is looked up on the class instead of theSerhiy Storchaka2016-09-211-5/+7
| | | | | | | | | | | | instance.
* | | Merge 3.5Victor Stinner2016-09-211-1/+1
|\ \ \ | |/ /
| * | Fix PyUnicode_FromFormatV() error handlingVictor Stinner2016-09-211-1/+1
| | | | | | | | | | | | | | | Issue #28233: Fix a memory leak if the format string contains a non-ASCII character, destroy the unicode writer.
| * | Issue #28189: dictitems_contains no longer swallows compare errors.Raymond Hettinger2016-09-191-1/+1
| | | | | | | | | | | | (Patch by Xiang Zhang)
* | | va_end() all va_copy()ed va_lists.Christian Heimes2016-09-212-0/+5
| | |
* | | replace usage of Py_VA_COPY with the (C99) standard va_copyBenjamin Peterson2016-09-212-4/+3
| | |