Commit Graph

3637 Commits

Author SHA1 Message Date
Serhiy Storchaka
07e03ab9f9 Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case of
MemoryError.
2015-03-30 09:53:06 +03:00
Serhiy Storchaka
ce16424b0b Issue #22079: Py3k warning now is issued in PyType_Ready() instead of
raising TypeError when statically allocated type subclasses dynamically
allocated type
2015-03-22 09:45:35 +02:00
Antoine Pitrou
323ab6d732 Issue #23629: Fix the default __sizeof__ implementation for variable-sized objects. 2015-03-10 22:32:00 +01:00
Benjamin Peterson
f050648a50 fix potential refleak in PyFloat_AsDouble (closes #23590) 2015-03-06 09:08:44 -05:00
Benjamin Peterson
082a960425 fix merge_collapse to actually maintain the invariant it purports to (closes #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"
2015-02-25 10:12:26 -05:00
Stefan Krah
0a7fc53be2 Issue #23370: Fix off-by-one error for non-contiguous buffers. 2015-02-01 16:10:35 +01:00
Serhiy Storchaka
227526dc5c Issue #23055: Fixed read-past-the-end error in PyUnicode_FromFormatV. 2015-01-31 01:15:29 +02:00
Serhiy Storchaka
5ec0bbf27d Issue #23055: Fixed off-by-one error in PyUnicode_FromFormatV. 2015-01-30 23:35:03 +02:00
Stefan Krah
5606cd9800 Issue #23349: Fix off-by-one error in PyBuffer_ToContiguous(). Initial patch
by Richard Hansen.
2015-01-30 20:11:10 +01:00
Serhiy Storchaka
4c54387f11 Issue #22079: PyType_Ready() now checks that statically allocated type has
no dynamically allocated bases.
2015-01-28 10:52:49 +02:00
Serhiy Storchaka
0e0282eb14 Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. Analysis
and fix by Guido Vranken.
2015-01-27 22:17:56 +02:00
Serhiy Storchaka
e8c9e14af9 Issue #23181: More "codepoint" -> "code point". 2015-01-18 11:42:50 +02:00
Benjamin Peterson
e2defc4132 remove tautological condition (closes #22954) 2014-11-26 23:03:11 -06:00
Benjamin Peterson
c6b6ab0caa remove strange casts 2014-11-23 12:58:54 -06:00
Georg Brandl
409062c669 Closes #22772: fix __ifloordiv__ and __itruediv__ docstring. 2014-10-31 13:12:57 +01:00
Antoine Pitrou
d0a5e9bb4a Issue #22604: Fix assertion error in debug mode when dividing a complex number by (nan+0j). 2014-10-10 23:49:32 +02:00
Benjamin Peterson
95bc0e4703 use Py_ssize_t for file offset and length computations in iteration (closes #22526) 2014-09-30 21:17:15 -04:00
Benjamin Peterson
f8c4b3a730 fix overflow checking in PyString_Repr (closes #22519) 2014-09-29 19:01:18 -04:00
Benjamin Peterson
ed4c130d3d cleanup overflowing handling in unicode_decode_call_errorhandler and unicode_encode_ucs1 (closes #22518) 2014-09-29 18:18:57 -04:00
Benjamin Peterson
1643d5cb08 give exception a nice message (closes #22379)
Patch by Yongzhi Pan.
2014-09-28 12:48:46 -04:00
Raymond Hettinger
9376c8b5e3 Fix typo in comment. 2014-08-01 23:51:51 -07:00
Victor Stinner
2af8d2f698 Issue #22023: Fix %S, %R and %V formats of PyUnicode_FromFormat(). 2014-07-30 00:39:05 +02:00
Benjamin Peterson
df71dcbef2 don't overwrite the error from PyObject_GetAttrString (closes #4346) 2014-06-26 23:27:41 -07:00
Benjamin Peterson
550b945fd6 avoid overflow with large buffer sizes and/or offsets (closes #21831) 2014-06-23 20:12:27 -07:00
Charles-François Natali
e4cda6ce21 Merge. 2014-06-19 22:45:09 +01:00