| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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. | ||||
| * | Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), | Serhiy Storchaka | 2015-05-30 | 2 | -7/+20 |
| | | | | | | PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle errors correctly. | ||||
| * | Issue #23985: Fixed integer overflow in iterator object. Original patch by | Serhiy Storchaka | 2015-05-21 | 1 | -0/+5 |
| | | | | | Clement Rouault. | ||||
| * | Issue #23757: Only call the concrete list API for exact lists. | Raymond Hettinger | 2015-05-17 | 1 | -1/+1 |
| | | |||||
| * | Issue #23971: Fix underestimated presizing in dict.fromkeys() | Raymond Hettinger | 2015-05-13 | 1 | -2/+2 |
| | | |||||
| * | allow 2.7 to be built with asan (closes #24061) | Benjamin Peterson | 2015-04-27 | 1 | -0/+20 |
| | | |||||
| * | Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case of | Serhiy Storchaka | 2015-03-30 | 1 | -7/+4 |
| | | | | | MemoryError. | ||||
| * | Issue #22079: Py3k warning now is issued in PyType_Ready() instead of | Serhiy Storchaka | 2015-03-22 | 1 | -6/+9 |
| | | | | | | raising TypeError when statically allocated type subclasses dynamically allocated type | ||||
| * | Issue #23629: Fix the default __sizeof__ implementation for variable-sized ↵ | Antoine Pitrou | 2015-03-10 | 2 | -13/+1 |
| | | | | | objects. | ||||
| * | fix potential refleak in PyFloat_AsDouble (closes #23590) | Benjamin Peterson | 2015-03-06 | 1 | -0/+1 |
| | | |||||
| * | 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 #23370: Fix off-by-one error for non-contiguous buffers. | Stefan Krah | 2015-02-01 | 1 | -2/+2 |
| | | |||||
| * | Issue #23055: Fixed read-past-the-end error in PyUnicode_FromFormatV. | Serhiy Storchaka | 2015-01-30 | 1 | -0/+2 |
| | | |||||
| * | Issue #23055: Fixed off-by-one error in PyUnicode_FromFormatV. | Serhiy Storchaka | 2015-01-30 | 1 | -1/+2 |
| | | |||||
| * | Issue #23349: Fix off-by-one error in PyBuffer_ToContiguous(). Initial patch | Stefan Krah | 2015-01-30 | 1 | -2/+2 |
| | | | | | by Richard Hansen. | ||||
| * | Issue #22079: PyType_Ready() now checks that statically allocated type has | Serhiy Storchaka | 2015-01-28 | 1 | -0/+14 |
| | | | | | no dynamically allocated bases. | ||||
| * | Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. Analysis | Serhiy Storchaka | 2015-01-27 | 1 | -12/+13 |
| | | | | | and fix by Guido Vranken. | ||||
| * | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 1 | -4/+4 |
| | | |||||
| * | remove tautological condition (closes #22954) | Benjamin Peterson | 2014-11-27 | 1 | -1/+1 |
| | | |||||
| * | remove strange casts | Benjamin Peterson | 2014-11-23 | 1 | -4/+4 |
| | | |||||
| * | Closes #22772: fix __ifloordiv__ and __itruediv__ docstring. | Georg Brandl | 2014-10-31 | 1 | -2/+2 |
| | | |||||
| * | Issue #22604: Fix assertion error in debug mode when dividing a complex ↵ | Antoine Pitrou | 2014-10-10 | 1 | -2/+6 |
| | | | | | number by (nan+0j). | ||||
| * | use Py_ssize_t for file offset and length computations in iteration (closes ↵ | Benjamin Peterson | 2014-10-01 | 1 | -8/+7 |
| | | | | | #22526) | ||||
| * | fix overflow checking in PyString_Repr (closes #22519) | Benjamin Peterson | 2014-09-29 | 1 | -2/+3 |
| | | |||||
| * | cleanup overflowing handling in unicode_decode_call_errorhandler and ↵ | Benjamin Peterson | 2014-09-29 | 1 | -21/+48 |
| | | | | | unicode_encode_ucs1 (closes #22518) | ||||
| * | give exception a nice message (closes #22379) | Benjamin Peterson | 2014-09-28 | 1 | -1/+1 |
| | | | | | Patch by Yongzhi Pan. | ||||
| * | Fix typo in comment. | Raymond Hettinger | 2014-08-02 | 1 | -1/+1 |
| | | |||||
| * | Issue #22023: Fix %S, %R and %V formats of PyUnicode_FromFormat(). | Victor Stinner | 2014-07-29 | 1 | -9/+9 |
| | | |||||
| * | don't overwrite the error from PyObject_GetAttrString (closes #4346) | Benjamin Peterson | 2014-06-27 | 1 | -8/+4 |
| | | |||||
| * | avoid overflow with large buffer sizes and/or offsets (closes #21831) | Benjamin Peterson | 2014-06-24 | 1 | -2/+2 |
| | | |||||
| * | Merge. | Charles-François Natali | 2014-06-19 | 10 | -92/+96 |
| |\ | |||||
| | * | Issue 8743: Improve interoperability between sets and the collections.Set ↵ | Raymond Hettinger | 2014-05-26 | 1 | -6/+2 |
| | | | | | | | | | abstract base class. | ||||
| | * | Issue #21350: Fix file.writelines() to accept arbitrary buffer objects, as ↵ | Antoine Pitrou | 2014-05-08 | 1 | -7/+7 |
| | | | | | | | | | | | | | advertised. Patch by Brian Kearns. | ||||
| | * | Issue #20434 Correct error handlin of _PyString_Resize and _PyBytes_Resize | Kristján Valur Jónsson | 2014-04-25 | 2 | -6/+4 |
| | | | |||||
| | * | Issue #12546: Allow \x00 as a fill character for builtin type __format__ ↵ | Eric V. Smith | 2014-04-14 | 1 | -10/+8 |
| | | | | | | | | | methods. | ||||
| | * | bail in unicode error's __str__ methods if the objects are not properly ↵ | Benjamin Peterson | 2014-04-02 | 1 | -0/+12 |
| | | | | | | | | | initialized (closes #21134) | ||||
| | * | fix expandtabs overflow detection to be consistent and not rely on signed ↵ | Benjamin Peterson | 2014-03-30 | 1 | -19/+19 |
| | | | | | | | | | overflow | ||||
| | * | add braces and fix indentation | Benjamin Peterson | 2014-03-30 | 1 | -17/+18 |
| | | | |||||
| | * | fix indentation and add braces | Benjamin Peterson | 2014-03-30 | 1 | -16/+17 |
| | | | |||||
| | * | give non-iterable TypeError a message (closes #20507) | Benjamin Peterson | 2014-02-15 | 1 | -1/+1 |
| | | | |||||
