summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* Issue #27118: Clean up Py_XINCREF/Py_XDECREF in typeobject.c.Serhiy Storchaka2016-05-251-5/+4
| | | | Patch by Xiang Zhang.
* Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.Serhiy Storchaka2016-05-242-12/+4
| | | | Patch by Demur Rumed.
* Issue #27039: Fixed bytearray.remove() for values greater than 127.Serhiy Storchaka2016-05-161-5/+2
|\ | | | | | | Based on patch by Joe Jevnik.
| * Issue #27039: Fixed bytearray.remove() for values greater than 127.Serhiy Storchaka2016-05-161-7/+4
| | | | | | | | Patch by Joe Jevnik.
* | Issue #26765: Ensure that bytes- and unicode-specific stringlib files are usedSerhiy Storchaka2016-05-166-12/+15
| | | | | | | | with correct type.
* | merge 3.5Benjamin Peterson2016-05-131-3/+3
|\ \ | |/
| * 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 #23640: int.from_bytes() no longer bypasses constructors for subclasses.Serhiy Storchaka2016-05-121-21/+3
| |
* | Issue #27005: Fixed the call of PyObject_CallFunctionObjArgs().Serhiy Storchaka2016-05-121-1/+1
| |
* | Issue #27005: Optimized the float.fromhex() class method for exact float.Serhiy Storchaka2016-05-121-6/+5
| |
* | Issue #17765: weakref.ref() no longer silently ignores keyword arguments.Serhiy Storchaka2016-05-071-1/+3
|\ \ | |/ | | | | Patch by Georg Brandl.
| * Issue #17765: weakref.ref() no longer silently ignores keyword arguments.Serhiy Storchaka2016-05-071-1/+3
| | | | | | | | Patch by Georg Brandl.
* | Issue #26765: Moved common code for the replace() method of bytes and bytearraySerhiy Storchaka2016-05-053-1062/+527
| | | | | | | | to a template file.
* | Issue #26765: Moved common code and docstrings for bytes and bytearray methodsSerhiy Storchaka2016-05-046-777/+498
| | | | | | | | to bytes_methods.c.
* | Issue #26811: gc.get_objects() no longer contains a broken tuple with NULLSerhiy Storchaka2016-05-041-15/+15
|\ \ | |/ | | | | pointer.
| * Issue #26811: gc.get_objects() no longer contains a broken tuple with NULLSerhiy Storchaka2016-05-041-15/+15
| | | | | | | | pointer.
* | Got rid of redundand "self" parameter declarations.Serhiy Storchaka2016-05-023-70/+45
| | | | | | | | Argument Clinic is now able to infer all needed information.
* | Fix typos. Reported by andportnoy on GitHub.Berker Peksag2016-04-291-1/+1
| |
* | Removed unused initialization and the uninteresting comment.Raymond Hettinger2016-04-291-2/+1
| |
* | Issue #26880: Removed redundant checks in set.__init__.Serhiy Storchaka2016-04-291-3/+1
| |
* | Issue #25349, #26249: Fix memleak in formatfloat()Victor Stinner2016-04-261-0/+1
| |
* | Issue #26249: Try test_capi on WindowsVictor Stinner2016-04-221-6/+7
| |
* | PyMem_Malloc() now uses the fast pymalloc allocatorVictor Stinner2016-04-221-3/+3
| | | | | | | | | | | | | | Issue #26249: PyMem_Malloc() allocator family now uses the pymalloc allocator rather than system malloc(). Applications calling PyMem_Malloc() without holding the GIL can now crash: use PYTHONMALLOC=debug environment variable to validate the usage of memory allocators in your application.
* | Merge doc and comment fixes from 3.5Martin Panter2016-04-191-2/+2
|\ \ | |/
| * Fix spelling (inital), grammar (may translates) in documentation, commentsMartin Panter2016-04-191-2/+2
| |
* | Don't define _PyMem_PymallocEnabled() if pymalloc is disabledVictor Stinner2016-04-191-1/+1
| | | | | | | | Isse #26516.
* | Issue #26745: Removed redundant code in _PyObject_GenericSetAttrWithDict.Serhiy Storchaka2016-04-171-30/+21
| | | | | | | | Based on patch by Xiang Zhang.
* | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and errorSerhiy Storchaka2016-04-173-3/+3
|\ \ | |/ | | | | messages.
| * Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-173-3/+3
| |
* | merge 3.5Benjamin Peterson2016-04-161-1/+1
|\ \ | |/
| * fix slice cache finalization to use gc delBenjamin Peterson2016-04-161-1/+1
| |
* | merge 3.5 (#26659)Benjamin Peterson2016-04-161-4/+15
|\ \ | |/
| * add gc support to slice (closes #26659)Benjamin Peterson2016-04-161-4/+15
| |
* | Issue #26766: Remove redundant bytearray_format() from bytearrayobject.cBerker Peksag2016-04-151-14/+1
| |
* | Issue #26766: Fix _PyBytesWriter_Finish()Victor Stinner2016-04-151-1/+6
| | | | | | | | | | | | | | Return a bytearray object when bytearray is requested and when the small buffer is used. Fix also test_bytes: bytearray%args must return a bytearray type.
* | Issue #26764: Fixed SystemError in bytes.__rmod__.Serhiy Storchaka2016-04-151-6/+4
| |
* | Issue #15984: Merge PyUnicode doc from 3.5Martin Panter2016-04-152-2/+2
|\ \ | |/
| * Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-152-2/+2
| | | | | | | | This affects documentation, code comments, and a debugging messages.
* | Issue #26057: Got rid of nonneeded use of PyUnicode_FromObject().Serhiy Storchaka2016-04-132-410/+165
| |
* | 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 #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: Restored more safe usages of Py_SETREF.Serhiy Storchaka2016-04-111-2/+2
|\ \ | |/
* | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREFSerhiy Storchaka2016-04-106-11/+11
|\ \ | |/ | | | | in places where Py_DECREF was used.
| * 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 #17339: Improved TypeError message in bytes constructor.Serhiy Storchaka2016-04-101-16/+15
| |
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-0614-55/+55
|\ \ | |/
| * 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.
| * 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.