summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | fix refleaks in PyDict_SetItem error cases (closes #27248)Benjamin Peterson2016-07-071-3/+9
| |
* | Issue #27443: __length_hint__() of bytearray itearator no longer returnSerhiy Storchaka2016-07-031-1/+5
| | | | | | | | negative integer for resized bytearray.
* | Fix spelling errors in code commentsMartin Panter2016-06-201-2/+2
| |
* | Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded asSerhiy Storchaka2016-06-181-1/+7
| | | | | | | | an iterable of integers. Now only strings and byte-like objects are accepted.
* | Issue #27243: Fix __aiter__ protocolYury Selivanov2016-06-091-0/+94
| |
* | Issue #27225: Fixed a reference leak in type_new when setting __new__ fails.Serhiy Storchaka2016-06-051-1/+3
| | | | | | | | Patch by Xiang Zhang.
* | Issue #20041: Fixed TypeError when frame.f_trace is set to None.Serhiy Storchaka2016-06-041-5/+3
| | | | | | | | Patch by Xavier de Gaye.
* | Issue #27171: Fix typos in documentation, comments, and test function namesMartin Panter2016-06-022-2/+2
| |
* | Issue #27125: Remove duplicated words from documentation and commentsMartin Panter2016-05-301-1/+1
| |
* | Issue #27125: Fix various errors like “will [be] inherited”Martin Panter2016-05-291-1/+1
| |
* | backout 3c9512d8ac0dBenjamin Peterson2016-05-281-1/+1
| |
* | Issue #27039: Fixed bytearray.remove() for values greater than 127.Serhiy Storchaka2016-05-161-7/+4
| | | | | | | | Patch by Joe Jevnik.
* | fix indentation of comments in cellobject.c (closes #27011)Benjamin Peterson2016-05-131-3/+3
| |