summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701).Serhiy Storchaka2016-11-161-1/+1
|
* Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.Serhiy Storchaka2016-11-162-6/+44
| | | | | | The latter function is more readable, faster and doesn't raise exceptions. Based on patch by Xiang Zhang.
* Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵Serhiy Storchaka2016-11-164-7/+42
| | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions.
* Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS XSerhiy Storchaka2016-11-121-1/+1
|\ | | | | | | when decode astral characters.
| * Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS XSerhiy Storchaka2016-11-121-1/+1
| |\ | | | | | | | | | when decode astral characters.
| | * Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS XSerhiy Storchaka2016-11-121-1/+1
| | | | | | | | | | | | when decode astral characters.
| | * Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache.Serhiy Storchaka2015-12-021-0/+5
| | |
* | | ssue #27942: Fix memory leak in codeobject.cYury Selivanov2016-11-091-0/+2
| | |
* | | genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapperYury Selivanov2016-11-091-2/+2
| | |
* | | make sure dict view types are initializedBenjamin Peterson2016-11-061-0/+9
| | |
* | | 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 #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.
* | | Backed out changeset 9f7505019767 (issue #27275).Serhiy Storchaka2016-10-301-7/+22
| | |
* | | Issue #27275: Fixed implementation of pop() and popitem() methods inSerhiy Storchaka2016-10-251-22/+7
| | | | | | | | | | | | subclasses of accelerated OrderedDict.
* | | 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.
* | | remove extra PyErr_Format arguments (closes #28454)Benjamin Peterson2016-10-161-4/+4
| | | | | | | | | | | | Patch from Xiang Zhang.
* | | Issue #28379: Added sanity checks and tests for PyUnicode_CopyCharacters().Serhiy Storchaka2016-10-081-3/+7
| | | | | | | | | | | | Patch by Xiang Zhang.
* | | 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 #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
|\ \ \
| * | | ensure gc tracking is off when invoking weakref callbacks (closes #26617)Benjamin Peterson2016-10-041-12/+13
| | | |
* | | | Issue #28350: String constants with null character no longer interned.Serhiy Storchaka2016-10-041-8/+8
|/ / /
* | | 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 #28203: Fix incorrect type in error message from complex(1.0, {2:3}). ↵Mark Dickinson2016-09-241-6/+17
| | | | | | | | | | | | Patch by Soumya Sharma.
* | | 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)
* | | Issue #28139: Fix messed up indentationMartin Panter2016-09-171-8/+12
| | | | | | | | | | | | | | | Also update the classmethod and staticmethod doc strings and comments to match the RST documentation.
* | | Issue #25270: Prevent codecs.escape_encode() from raising SystemError when ↵Berker Peksag2016-09-161-5/+14
| | | | | | | | | | | | an empty bytestring is passed
* | | Issue #28045: Fix comment in range_contains_long()Berker Peksag2016-09-121-1/+1
| | | | | | | | | | | | Patch by wim glenn.
* | | Issue #25221: Fix corrupted result from PyLong_FromLong(0) when Python is ↵Mark Dickinson2016-09-101-1/+2
| | | | | | | | | | | | compiled with NSMALLPOSINTS = 0.
* | | Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Martin Panter2016-09-075-5/+5
| | |
* | | supress coroutine warning when an exception is pending (#27968)Benjamin Peterson2016-09-071-12/+15
| | |
* | | promote some shifts to unsigned, so as not to invoke undefined behaviorBenjamin Peterson2016-09-071-3/+3
| | |
* | | make sure to not call memcpy with a NULL second argumentBenjamin Peterson2016-09-071-6/+9
| | |
* | | clear out f_gen during generator finalization (closes #27812)Benjamin Peterson2016-09-051-1/+4
| | | | | | | | | | | | Patch from Armin Rigo.
* | | do not allow _PyGen_Finalize to fail (closes #27811)Benjamin Peterson2016-09-051-12/+13
| | | | | | | | | | | | Patch from Armin Rigo.
* | | Issue 19504: Change "customise" to "customize" American spelling.Raymond Hettinger2016-08-261-1/+1
| | |
* | | Issue #27782: Fix m_methods handling in multiphase initNick Coghlan2016-08-211-29/+35
| | | | | | | | | | | | | | | | | | | | | | | | Multi-phase extension module import now correctly allows the ``m_methods`` field to be used to add module level functions to instances of non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang.
* | | Fix a refleak in call_maybe()Victor Stinner2016-08-191-1/+3
| | | | | | | | | | | | | | | Issue #27128. Fix a reference leak if creating the tuple to pass positional parameters fails.
* | | Fix a refleak in call_method()Victor Stinner2016-08-191-1/+3
| | | | | | | | | | | | | | | Issue #27128. Fix a reference leak if creating the tuple to pass positional parameters fails.
* | | Fix spelling and grammar in documentation and code commentsMartin Panter2016-08-042-2/+2
| | |
* | | Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-282-5/+5
| | | | | | | | | | | | Based on patch by Ville Skyttä.
* | | Issue #26662: Set PYTHON_FOR_GEN in configureXavier de Gaye2016-07-261-26/+37
| | | | | | | | | | | | as the Python program to be used for file generation during the build.
* | | Issue #27581: Don’t rely on overflow wrapping in PySequence_Tuple()Martin Panter2016-07-251-4/+5
| | | | | | | | | | | | Patch by Xiang Zhang.
* | | Issue #27507: Check for integer overflow in bytearray.extend()Martin Panter2016-07-181-1/+11
| | | | | | | | | | | | Patch by Xiang Zhang.
* | | Issue #27473: Fixed possible integer overflow in bytes and bytearraySerhiy Storchaka2016-07-102-16/+11
| | | | | | | | | | | | concatenations. Patch by Xiang Zhang.
* | | #20647: Update dictobject.c comments to account for randomized string hashes.R David Murray2016-07-101-8/+5
| | | | | | | | | | | | Patch by Jaysinh Shukla.