Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #23681: The -b option now affects comparisons of bytes with int. | Serhiy Storchaka | 2015-03-20 | 1 | -8/+17 |
| | |||||
* | Fix compiler warnings: comparison between signed and unsigned numbers | Victor Stinner | 2015-03-20 | 1 | -1/+1 |
| | |||||
* | Merge | Antoine Pitrou | 2015-03-19 | 1 | -17/+6 |
|\ | |||||
| * | Issue #23708: Add _Py_read() and _Py_write() functions to factorize code handle | Victor Stinner | 2015-03-19 | 1 | -17/+6 |
| | | | | | | | | | | | | | | | | EINTR error and special cases for Windows. These functions now truncate the length to PY_SSIZE_T_MAX to have a portable and reliable behaviour. For example, read() result is undefined if counter is greater than PY_SSIZE_T_MAX on Linux. | ||||
* | | Issue #23632: Memoryviews now allow tuple indexing (including for ↵ | Antoine Pitrou | 2015-03-19 | 1 | -29/+120 |
|/ | | | | multi-dimensional memoryviews). | ||||
* | Removed unintentional trailing spaces in non-external and non-generated C files. | Serhiy Storchaka | 2015-03-18 | 7 | -10/+10 |
| | |||||
* | Initialize variables to prevent GCC warnings | Victor Stinner | 2015-03-18 | 1 | -15/+20 |
| | |||||
* | Close issue23467: add %r compatibility to bytes and bytearray | Ethan Furman | 2015-03-11 | 1 | -0/+2 |
| | |||||
* | Issue #23629: Fix the default __sizeof__ implementation for variable-sized ↵ | Antoine Pitrou | 2015-03-10 | 3 | -50/+1 |
|\ | | | | | | | objects. | ||||
| * | Issue #23629: Fix the default __sizeof__ implementation for variable-sized ↵ | Antoine Pitrou | 2015-03-10 | 3 | -27/+1 |
| | | | | | | | | objects. | ||||
* | | Issue #23571: Oops, fix #ifdef assert() | Victor Stinner | 2015-03-09 | 1 | -1/+1 |
| | | | | | | | | assert() are noop when NDEBUG is defined. We want the opposite. | ||||
* | | Issue #23571: PyObject_Call(), PyCFunction_Call() and call_function() now | Victor Stinner | 2015-03-06 | 2 | -69/+105 |
| | | | | | | | | | | | | | | | | | | | | | | raise a SystemError if a function returns a result and raises an exception. The SystemError is chained to the previous exception. Refactor also PyObject_Call() and PyCFunction_Call() to make them more readable. Remove some checks which became useless (duplicate checks). Change reviewed by Serhiy Storchaka. | ||||
* | | merge 3.4 (#23590) | Benjamin Peterson | 2015-03-06 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | fix potential refleak in PyFloat_AsDouble (closes #23590) | Benjamin Peterson | 2015-03-06 | 1 | -0/+1 |
| | | |||||
| * | merge 3.3 (#23362) | Benjamin Peterson | 2015-03-02 | 1 | -1/+1 |
| |\ | |||||
| | * | use PyMem_NEW to detect overflow (closes #23362) | Benjamin Peterson | 2015-03-02 | 1 | -1/+1 |
| | | | |||||
| | * | Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. Analysis | Serhiy Storchaka | 2015-01-27 | 1 | -0/+2 |
| | | | | | | | | | | | | and fix by Guido Vranken. | ||||
* | | | Issue #21293: Remove unnecessary "capsule hack". | Larry Hastings | 2015-03-02 | 1 | -3/+0 |
| | | | |||||
* | | | Issue #23451: Update pyconfig.h for Windows to require Vista headers and ↵ | Steve Dower | 2015-03-02 | 1 | -18/+1 |
| | | | | | | | | | | | | remove unnecessary version checks. | ||||
* | | | Fixed a typo. | Serhiy Storchaka | 2015-03-01 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #20204: Deprecation warning is now raised for builtin type without the | Serhiy Storchaka | 2015-03-01 | 1 | -0/+6 |
| | | | | | | | | | | | | __module__ attribute. | ||||
* | | | merge 3.4 (#23515) | Benjamin Peterson | 2015-02-25 | 1 | -1/+2 |
|\ \ \ | |/ / | |||||
| * | | fix merge_collapse to actually maintain the invariant it purports to (closes ↵ | Benjamin Peterson | 2015-02-25 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | #23515) See de Gouw, Stijn and Rot, Jurriaan and de Boer, Frank S and Bubel, Richard and Hähnle, Reiner "OpenJDK’s java.utils.Collection.sort() is broken: The good, the bad and the worst case" | ||||
* | | | Issue #23490: Fixed possible crashes related to interoperability between | Serhiy Storchaka | 2015-02-20 | 1 | -0/+9 |
|\ \ \ | |/ / | | | | | | | old-style and new API for string with 2**30-1 characters. | ||||
| * | | Issue #23490: Fixed possible crashes related to interoperability between | Serhiy Storchaka | 2015-02-20 | 1 | -0/+9 |
| | | | | | | | | | | | | old-style and new API for string with 2**30-1 characters. | ||||
* | | | Issue #23450: Fixed possible integer overflows. | Serhiy Storchaka | 2015-02-16 | 2 | -2/+2 |
| | | | |||||
* | | | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer | Serhiy Storchaka | 2015-02-16 | 1 | -17/+5 |
|\ \ \ | |/ / | | | | | | | overflows. Added few missed PyErr_NoMemory(). | ||||
| * | | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer | Serhiy Storchaka | 2015-02-16 | 1 | -17/+5 |
| | | | | | | | | | | | | overflows. Added few missed PyErr_NoMemory(). | ||||
* | | | Issue #23383: Cleaned up bytes formatting. | Serhiy Storchaka | 2015-02-10 | 1 | -140/+51 |
| | | | |||||
* | | | Mirco-optimizations to reduce register spills and reloads observed on CLANG ↵ | Raymond Hettinger | 2015-02-09 | 1 | -2/+4 |
| | | | | | | | | | | | | and GCC. | ||||
* | | | Fix definition mismatch for type_is_subtype_base_chain. | Steve Dower | 2015-02-06 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Fix definition mismatch for type_is_subtype_base_chain. | Steve Dower | 2015-02-06 | 1 | -1/+1 |
| | | | |||||
* | | | merge 3.4 (#22735) | Benjamin Peterson | 2015-02-06 | 1 | -252/+391 |
|\ \ \ | |/ / | |||||
| * | | fix many custom mro() edge cases and improve code quality (#22735) | Benjamin Peterson | 2015-02-06 | 1 | -253/+392 |
| | | | | | | | | | | | | Patch by Eldar Abusalimov. | ||||
* | | | Minor code clean up. | Raymond Hettinger | 2015-02-04 | 1 | -2/+2 |
| | | | |||||
* | | | Issue 23359: Reduce size of code in set_lookkey. Only do linear probes when ↵ | Raymond Hettinger | 2015-02-03 | 1 | -33/+0 |
| | | | | | | | | | | | | | | | | | | there is no wrap-around. Nice simplification contributed by Serhiy Storchaka :-) | ||||
* | | | Issue #14203: Remove obsolete support for view==NULL in PyBuffer_FillInfo() | Stefan Krah | 2015-02-03 | 2 | -9/+13 |
| | | | | | | | | | | | | | | | and bytearray_getbuffer(). Both functions now raise BufferError in that case. | ||||
* | | | Issue #22896: Fixed using _getbuffer() in recently added _PyBytes_Format(). | Serhiy Storchaka | 2015-02-02 | 1 | -3/+2 |
| | | | |||||
* | | | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-02 | 8 | -304/+282 |
|\ \ \ | |/ / | | | | | | | and PyObject_AsWriteBuffer(). | ||||
| * | | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-02 | 8 | -244/+189 |
| | | | | | | | | | | | | and PyObject_AsWriteBuffer(). | ||||
* | | | Issue 23359: Tighten inner search loop for sets (don't and-mask every entry ↵ | Raymond Hettinger | 2015-02-02 | 1 | -24/+53 |
| | | | | | | | | | | | | lookup). | ||||
* | | | Merge from 3.4. | Stefan Krah | 2015-02-01 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Issue #23370: Fix off-by-one error for non-contiguous buffers. | Stefan Krah | 2015-02-01 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #22445: PyBuffer_IsContiguous() now implements precise contiguity | Stefan Krah | 2015-02-01 | 1 | -12/+37 |
| | | | | | | | | | | | | | | | tests, compatible with NumPy's NPY_RELAXED_STRIDES_CHECKING compilation flag. Previously the function reported false negatives for corner cases. | ||||
* | | | Keep the definition of i consistent between set_lookkey() and ↵ | Raymond Hettinger | 2015-01-31 | 1 | -4/+4 |
| | | | | | | | | | | | | set_insert_clean(). | ||||
* | | | Minor tweak to improve code clarity. | Raymond Hettinger | 2015-01-31 | 1 | -1/+1 |
| | | | |||||
* | | | Fix typo in a comment. | Raymond Hettinger | 2015-01-31 | 1 | -1/+1 |
| | | | |||||
* | | | allow changing __class__ between a heaptype and non-heaptype in some cases ↵ | Benjamin Peterson | 2015-01-30 | 1 | -26/+37 |
| | | | | | | | | | | | | | | | | | | (closes #22986) Patch by Nathaniel Smith. | ||||
* | | | Closes #22668: Merge from 3.4. | Stefan Krah | 2015-01-29 | 1 | -4/+52 |
|\ \ \ | |/ / | |||||
| * | | Issue #22668: Ensure that format strings survive slicing after casting. | Stefan Krah | 2015-01-29 | 1 | -4/+52 |
| | | |