Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22604: Fix assertion error in debug mode when dividing a complex ↵ | Antoine Pitrou | 2014-10-10 | 1 | -2/+6 |
|\ | | | | | | | number by (nan+0j). | ||||
| * | Issue #22604: Fix assertion error in debug mode when dividing a complex ↵ | Antoine Pitrou | 2014-10-10 | 1 | -2/+6 |
| | | | | | | | | number by (nan+0j). | ||||
* | | #16518: Bring error messages in harmony with docs ("bytes-like object") | R David Murray | 2014-10-05 | 6 | -14/+11 |
| | | | | | | | | | | | | | | | | | | | | Some time ago we changed the docs to consistently use the term 'bytes-like object' in all the contexts where bytes, bytearray, memoryview, etc are used. This patch (by Ezio Melotti) completes that work by changing the error messages that previously reported that certain types did "not support the buffer interface" to instead say that a bytes-like object is required. (The glossary entry for bytes-like object references the discussion of the buffer protocol in the docs.) | ||||
* | | Closes #22540: speed up PyObject_IsInstance and PyObject_IsSubclass in the ↵ | Georg Brandl | 2014-10-03 | 1 | -0/+15 |
| | | | | | | | | common case that the second argument has metaclass "type". | ||||
* | | Fix "warning: comparison between signed and unsigned integer expressions" | Gregory P. Smith | 2014-09-30 | 1 | -5/+5 |
| | | | | | | | | | | | | -Wsign-compare warnings in unicodeobject.c. These were all a result of sizeof() being unsigned and being compared to a Py_ssize_t. Not actual problems. | ||||
* | | merge 3.4 (#22520) | Benjamin Peterson | 2014-09-30 | 1 | -11/+17 |
|\ \ | |/ | |||||
| * | merge 3.3 (#22520) | Benjamin Peterson | 2014-09-30 | 1 | -11/+17 |
| |\ | |||||
| | * | prevent overflow in unicode_repr (closes #22520) | Benjamin Peterson | 2014-09-30 | 1 | -11/+17 |
| | | | |||||
* | | | merge 3.4 | Benjamin Peterson | 2014-09-29 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | merge 3.3 | Benjamin Peterson | 2014-09-29 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | these variables ought to be Py_ssize_t | Benjamin Peterson | 2014-09-29 | 1 | -1/+1 |
| | | | |||||
* | | | merge 3.4 (#22519) | Benjamin Peterson | 2014-09-29 | 1 | -12/+16 |
|\ \ \ | |/ / | |||||
| * | | merge 3.3 (closes #22519) | Benjamin Peterson | 2014-09-29 | 1 | -12/+16 |
| |\ \ | | |/ | |||||
| | * | fix overflow checking in PyBytes_Repr (closes #22519) | Benjamin Peterson | 2014-09-29 | 1 | -12/+16 |
| | | | |||||
* | | | merge 3.4 (closes #22518) | Benjamin Peterson | 2014-09-29 | 1 | -17/+47 |
|\ \ \ | |/ / | |||||
| * | | merge 3.3 (closes #22518) | Benjamin Peterson | 2014-09-29 | 1 | -17/+47 |
| |\ \ | | |/ | |||||
| | * | cleanup overflowing handling in unicode_decode_call_errorhandler and ↵ | Benjamin Peterson | 2014-09-29 | 1 | -18/+56 |
| | | | | | | | | | | | | unicode_encode_ucs1 (closes #22518) | ||||
* | | | Removed redundant casts to `char *`. | Serhiy Storchaka | 2014-09-28 | 4 | -6/+6 |
| | | | | | | | | | | | | Corresponding functions now accept `const char *` (issue #1772673). | ||||
* | | | Issue #22215: Now ValueError is raised instead of TypeError when str or bytes | Serhiy Storchaka | 2014-09-06 | 2 | -7/+7 |
| | | | | | | | | | | | | argument contains not permitted null character or byte. | ||||
* | | | Issue #22290: PyObject_Call() now fails with an assertion error when called | Victor Stinner | 2014-09-04 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | with an exception set. This new assertion helps to understand if the exception was already set before calling the function or raised by the function. | ||||
* | | | use __qualname__ to compute bound method repr (closes #21389) | Benjamin Peterson | 2014-08-20 | 1 | -30/+13 |
| | | | | | | | | | | | | Patch from Steven Barker. | ||||
* | | | Issue #22207: Fix "comparison between signed and unsigned integers" warning in | Victor Stinner | 2014-08-17 | 2 | -4/+5 |
| | | | | | | | | | | | | | | | test checking for integer overflow on Py_ssize_t type: cast explicitly to size_t. | ||||
* | | | Optimize PyBytes_FromObject(): only overallocate when size=0 to not get the | Victor Stinner | 2014-08-17 | 1 | -1/+3 |
| | | | | | | | | | | | | empty string singleton | ||||
* | | | Issue #22156: Fix "comparison between signed and unsigned integers" compiler | Victor Stinner | 2014-08-15 | 5 | -12/+13 |
| | | | | | | | | | | | | | | | | | | | | | warnings in the Objects/ subdirectory. PyType_FromSpecWithBases() and PyType_FromSpec() now reject explicitly negative slot identifiers. | ||||
* | | | Issue #22116: C functions and methods (of the 'builtin_function_or_method' ↵ | Antoine Pitrou | 2014-08-06 | 1 | -1/+5 |
| | | | | | | | | | | | | type) can now be weakref'ed. Patch by Wei Wu. | ||||
* | | | Issue #22077: Improve index error messages for bytearrays, bytes, lists, and | Terry Jan Reedy | 2014-08-02 | 4 | -6/+10 |
| | | | | | | | | | | | | | | | tuples by adding 'or slices'. Added ', not <typename' for bytearrays. Original patch by Claudiu Popa. | ||||
* | | | Issue #18395: Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, rename | Victor Stinner | 2014-08-01 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | ``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these functions. | ||||
* | | | Rerun AC, silence pointer conversion warnings. | Martin v. Löwis | 2014-07-27 | 2 | -73/+102 |
| | | | |||||
* | | | Issue #20179: Apply Argument Clinic to bytes and bytearray. | Martin v. Löwis | 2014-07-27 | 3 | -557/+1867 |
| | | | | | | | | | | | | Patch by Tal Einat. | ||||
* | | | Issue #22082: Fix a compiler warning (function is not a prototype) | Victor Stinner | 2014-07-27 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #22082: Clear interned strings in slotdefs. | Martin v. Löwis | 2014-07-26 | 1 | -3/+17 |
| | | | |||||
* | | | slotdefs is no longer sorted. | Martin v. Löwis | 2014-07-26 | 1 | -1/+1 |
| | | | |||||
* | | | unicodeobject.c: fix a compiler warning on Windows 64 bits | Victor Stinner | 2014-07-25 | 1 | -1/+2 |
| | | | |||||
* | | | Issue #18093: Factor out the programs that embed the runtime | Nick Coghlan | 2014-07-25 | 1 | -0/+1 |
| | | | |||||
* | | | merge 3.4 (#22036) | Benjamin Peterson | 2014-07-24 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | s/stringobject/bytesobject/ (closes #22036) | Benjamin Peterson | 2014-07-24 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch by Martin Matusiak. | ||||
* | | | Issue #21938: simplify gen_iternext() | Antoine Pitrou | 2014-07-08 | 1 | -5/+1 |
| | | | |||||
* | | | Issue #21803: remove macro indirections in complexobject.h | Antoine Pitrou | 2014-07-07 | 1 | -17/+17 |
| | | | |||||
* | | | upgrade to unicode 7.0.0 | Benjamin Peterson | 2014-07-06 | 1 | -1121/+1591 |
| | | | |||||
* | | | Issue #21897: Fix a crash with the f_locals attribute with closure variables ↵ | Antoine Pitrou | 2014-07-05 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | when frame.clear() has been called. | ||||
| * | | Issue #21897: Fix a crash with the f_locals attribute with closure variables ↵ | Antoine Pitrou | 2014-07-05 | 1 | -1/+1 |
| | | | | | | | | | | | | when frame.clear() has been called. | ||||
* | | | (Merge 3.4) Issue #21892, #21893: Partial revert of changeset 4f55e802baf0, | Victor Stinner | 2014-07-04 | 1 | -18/+8 |
|\ \ \ | |/ / | | | | | | | PyErr_Format() uses "%zd" for Py_ssize_t, not PY_FORMAT_SIZE_T | ||||
| * | | Issue #21892, #21893: Partial revert of changeset 4f55e802baf0, PyErr_Format() | Victor Stinner | 2014-07-04 | 1 | -18/+8 |
| | | | | | | | | | | | | uses "%zd" for Py_ssize_t, not PY_FORMAT_SIZE_T | ||||
* | | | (Merge 3.4) Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu | Victor Stinner | 2014-07-01 | 1 | -11/+23 |
|\ \ \ | |/ / | | | | | | | to format C size_t, because %zi/%u is not supported on all platforms. | ||||
| * | | Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format C | Victor Stinner | 2014-07-01 | 1 | -11/+23 |
| | | | | | | | | | | | | size_t, because %zi/%u is not supported on all platforms. | ||||
* | | | merge 3.4 | Benjamin Peterson | 2014-06-27 | 1 | -9/+6 |
|\ \ \ | |/ / | |||||
| * | | use NULL not 0 | Benjamin Peterson | 2014-06-27 | 1 | -9/+6 |
| | | | |||||
* | | | Issue #21205: Add a new ``__qualname__`` attribute to generator, the qualified | Victor Stinner | 2014-06-16 | 1 | -15/+75 |
| | | | | | | | | | | | | | | | | | | | | | name, and use it in the representation of a generator (``repr(gen)``). The default name of the generator (``__name__`` attribute) is now get from the function instead of the code. Use ``gen.gi_code.co_name`` to get the name of the code. | ||||
* | | | Merge issue #21669 from 3.4 | Nick Coghlan | 2014-06-16 | 1 | -0/+135 |
|\ \ \ | |/ / | |||||
| * | | Issue #21669: Special case print & exec syntax errors | Nick Coghlan | 2014-06-16 | 1 | -0/+135 |
| | | |