Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #27225: Fixed a reference leak in type_new when setting __new__ fails. | Serhiy Storchaka | 2016-06-05 | 1 | -1/+5 |
| | | | | Original patch by Xiang Zhang. | ||||
* | Issue #20041: Fixed TypeError when frame.f_trace is set to None. | Serhiy Storchaka | 2016-06-04 | 1 | -5/+3 |
| | | | | Patch by Xavier de Gaye. | ||||
* | Issue #27171: Fix typos in documentation, code comments, and tests | Martin Panter | 2016-06-02 | 1 | -1/+1 |
| | |||||
* | Issue #27125: Remove duplicated words from documentation and comments | Martin Panter | 2016-05-30 | 2 | -2/+2 |
| | |||||
* | Issue #27125: Fix various errors like “will [be] inherited” | Martin Panter | 2016-05-29 | 1 | -1/+1 |
| | |||||
* | Backed out changeset e7062dd9085e (#25731) | Benjamin Peterson | 2016-05-28 | 1 | -1/+1 |
| | |||||
* | Issue #27076: Doc, comment and test function name spelling fixes | Martin Panter | 2016-05-26 | 1 | -1/+1 |
| | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | Issue #27039: Fixed bytearray.remove() for values greater than 127. | Serhiy Storchaka | 2016-05-16 | 1 | -7/+5 |
| | | | | Patch by Joe Jevnik. | ||||
* | fix indentation of comments in cellobject.c (closes #27011) | Benjamin Peterson | 2016-05-13 | 1 | -3/+3 |
| | |||||
* | Corrections for a/an in code comments and documentation | Martin Panter | 2016-05-08 | 2 | -3/+3 |
| | |||||
* | Issue #17765: weakref.ref() no longer silently ignores keyword arguments. | Serhiy Storchaka | 2016-05-07 | 1 | -1/+3 |
| | | | | Patch by Georg Brandl. | ||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 2 | -2/+2 |
| | |||||
* | add gc support to slice (closes #26659) | Benjamin Peterson | 2016-04-16 | 1 | -4/+15 |
| | |||||
* | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 1 | -1/+1 |
| | | | | This affects documentation and code comments. | ||||
* | Issue #26718: super.__init__ no longer leaks memory if called multiple times. | Serhiy Storchaka | 2016-04-13 | 1 | -3/+3 |
| | | | | NOTE: A direct call of super.__init__ is not endorsed! | ||||
* | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 5 | -8/+8 |
| | | | | in places where Py_DECREF was used. | ||||
* | Issue #13410: Fixed a bug in PyUnicode_Format where it failed to properly | Serhiy Storchaka | 2016-04-10 | 1 | -1/+4 |
| | | | | | | ignore errors from a __int__() method. Patch based on the patch for issue #15516. | ||||
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 8 | -28/+28 |
| | |||||
* | Issue #26494: Fixed crash on iterating exhausting iterators. | Serhiy Storchaka | 2016-03-30 | 6 | -14/+20 |
| | | | | | Affected classes are generic sequence iterators, iterators of bytearray, list, tuple, set, frozenset, dict, OrderedDict and corresponding views. | ||||
* | properly use PyObject_CallMethod in dictview binary operations (closes #26478) | Benjamin Peterson | 2016-03-04 | 1 | -5/+5 |
| | |||||
* | Issue #25698: Importing module if the stack is too deep no longer replaces | Serhiy Storchaka | 2016-02-10 | 1 | -0/+30 |
| | | | | imported module with the empty one. | ||||
* | fix hash member name (closes #22847) | Benjamin Peterson | 2016-02-07 | 1 | -1/+1 |
| | |||||
* | fix debug assertion | Benjamin Peterson | 2016-02-05 | 1 | -1/+1 |
| | |||||
* | Issue #22847: Improve method cache efficiency. | Antoine Pitrou | 2014-11-14 | 1 | -5/+38 |
| | |||||
* | code_richcompare() now uses the constants types | Victor Stinner | 2016-01-22 | 1 | -1/+143 |
| | | | | | | | | | Issue #25843: When compiling code, don't merge constants if they are equal but have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now correctly compiled to two different functions: f1() returns 1 (int) and f2() returns 1.0 (int), even if 1 and 1.0 are equal. Add a new _PyCode_ConstantKey() private function. | ||||
* | set tp_new from the class in the hierarchy that actually owns the descriptor ↵ | Benjamin Peterson | 2016-01-19 | 1 | -1/+1 |
| | | | | | | (closes #25731) Debugging by Eryk Sun. | ||||
* | Comment out two tests that won't pass now after reverting the typeobject.c | Barry Warsaw | 2016-01-11 | 1 | -24/+0 |
| | | | | | change. Also, as per further discussion, we'll just remove the regressing code in typeobject.c | ||||
* | Issue #22995: [UPDATE] Comment out the one of the pickleability tests in | Barry Warsaw | 2016-01-11 | 1 | -0/+9 |
| | | | | _PyObject_GetState() due to regressions observed in Cython-based projects. | ||||
* | remove some copyright notices supserseded by the toplevel ones | Benjamin Peterson | 2016-01-01 | 1 | -3/+0 |
| | |||||
* | Issue #25961: Fixed compilation error and a leak in type constructor. | Serhiy Storchaka | 2015-12-31 | 1 | -4/+11 |
| | |||||
* | Issue #25961: Disallowed null characters in the type name. | Serhiy Storchaka | 2015-12-30 | 1 | -4/+11 |
| | |||||
* | Issue #22995: Instances of extension types with a state that aren't | Serhiy Storchaka | 2015-12-30 | 1 | -7/+32 |
| | | | | | | subclasses of list or dict and haven't implemented any pickle-related methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no longer be pickled. Including memoryview. | ||||
* | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -6/+8 |
| | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | ||||
* | Issue #20440: Applied yet one patch for using Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -35/+22 |
| | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR. | ||||
* | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 8 | -29/+15 |
| | | | | macro Py_SETREF. | ||||
* | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. | Serhiy Storchaka | 2015-12-19 | 4 | -4/+4 |
| | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. | ||||
* | Issue #19543: Added Py3k warning for decoding unicode. | Serhiy Storchaka | 2015-12-03 | 1 | -0/+3 |
| | |||||
* | Issue #24097: Fixed crash in object.__reduce__() if slot name is freed inside | Serhiy Storchaka | 2015-11-25 | 1 | -1/+5 |
| | | | | __getattr__. Original patch by Antoine Pitrou. | ||||
* | Issue #24731: Fixed crash on converting objects with special methods | Serhiy Storchaka | 2015-11-25 | 3 | -3/+3 |
| | | | | | __str__, __trunc__, and __float__ returning instances of subclasses of str, long, and float to subclasses of str, long, and float correspondingly. | ||||
* | Issue #25678: Copy buffer objects to null-terminated strings. | Serhiy Storchaka | 2015-11-20 | 3 | -6/+32 |
| | | | | | | | | Avoid buffer overreads when int(), long(), float(), and compile() are passed buffer objects. Similar code is removed from the complex() constructor, where it was not reachable. Patch backported from issue #24802 by Eryk Sun. | ||||
* | Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now | Serhiy Storchaka | 2015-11-12 | 1 | -0/+7 |
| | | | | rejects builtin types with not defined __new__. | ||||
* | Issue #7267: format(int, 'c') now raises OverflowError when the argument is not | Victor Stinner | 2015-11-09 | 1 | -0/+8 |
| | | | | in range(0, 256). | ||||
* | Issue #24848: Fixed yet one bug in UTF-7 decoder. Testing for BASE64 character | Serhiy Storchaka | 2015-10-10 | 1 | -1/+4 |
| | | | | was locale depending. | ||||
* | Issue #25326: Improve an obscure error message. | Raymond Hettinger | 2015-10-09 | 1 | -1/+1 |
| | |||||
* | prevent unacceptable bases from becoming bases through multiple inheritance ↵ | Benjamin Peterson | 2015-10-07 | 1 | -7/+6 |
| | | | | (#24806) | ||||
* | Issue #24848: Fixed bugs in UTF-7 decoding of misformed data: | Serhiy Storchaka | 2015-10-02 | 1 | -7/+9 |
| | | | | | 1. Non-ASCII bytes were accepted after shift sequence. 2. A low surrogate could be emitted in case of error in high surrogate. | ||||
* | make comment not lie about the size of SMALL_REQUEST_THRESHOLD | Benjamin Peterson | 2015-07-30 | 1 | -1/+1 |
| | |||||
* | Issue #24467: Fixed possible buffer over-read in bytearray. The bytearray | Serhiy Storchaka | 2015-06-29 | 1 | -1/+3 |
| | | | | | object now always allocates place for trailing null byte and it's buffer now is always null-terminated. | ||||
* | Fixed indentation of Python examples in C comments. | Serhiy Storchaka | 2015-06-10 | 2 | -10/+10 |
| | |||||
* | Issue #19543: Emit deprecation warning for known non-text encodings. | Serhiy Storchaka | 2015-05-31 | 3 | -9/+9 |
| | | | | | | | | | | Backported issues #19619: encode() and decode() methods and constructors of str, unicode and bytearray classes now emit deprecation warning for known non-text encodings when Python is ran with the -3 option. Backported issues #20404: io.TextIOWrapper (and hence io.open()) now uses the internal codec marking system added to emit deprecation warning for known non-text encodings at stream construction time when Python is ran with the -3 option. |