summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses.Serhiy Storchaka2016-05-121-21/+3
|
* Issue #17765: weakref.ref() no longer silently ignores keyword arguments.Serhiy Storchaka2016-05-071-1/+3
| | | | Patch by Georg Brandl.
* Issue #26811: gc.get_objects() no longer contains a broken tuple with NULLSerhiy Storchaka2016-05-041-15/+15
| | | | pointer.
* Fix spelling (inital), grammar (may translates) in documentation, commentsMartin Panter2016-04-191-2/+2
|
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-173-3/+3
|
* fix slice cache finalization to use gc delBenjamin Peterson2016-04-161-1/+1
|
* add gc support to slice (closes #26659)Benjamin Peterson2016-04-161-4/+15
|
* Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-152-2/+2
| | | | This affects documentation, code comments, and a debugging messages.
* Issue #26718: super.__init__ no longer leaks memory if called multiple times.Serhiy Storchaka2016-04-131-3/+3
| | | | NOTE: A direct call of super.__init__ is not endorsed!
* Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREFSerhiy Storchaka2016-04-105-10/+10
| | | | in places where Py_DECREF was used.
* Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-069-36/+36
|
* Issue #26494: Fixed crash on iterating exhausting iterators.Serhiy Storchaka2016-03-308-16/+22
| | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
* merge 3.4 (closes #26478)Benjamin Peterson2016-03-041-5/+4
|\
| * properly use the ObjArgs variant of CallMethod in dictview binary operations ↵Benjamin Peterson2016-03-041-5/+4
| | | | | | | | (closes #26478)
* | coroutines: Error when awaiting on coroutine that's being awaitedYury Selivanov2016-03-021-6/+6
| | | | | | | | Issue #25888