summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integerSerhiy Storchaka2015-02-161-17/+5
| | | | overflows. Added few missed PyErr_NoMemory().
* Fix definition mismatch for type_is_subtype_base_chain.Steve Dower2015-02-061-1/+1
|
* fix many custom mro() edge cases and improve code quality (#22735)Benjamin Peterson2015-02-061-253/+392
| | | | Patch by Eldar Abusalimov.
* Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-028-244/+189
| | | | and PyObject_AsWriteBuffer().
* Issue #23370: Fix off-by-one error for non-contiguous buffers.Stefan Krah2015-02-011-2/+2
|
* Issue #22668: Ensure that format strings survive slicing after casting.Stefan Krah2015-01-291-4/+52
|
* Issue #22079: PyType_Ready() now checks that statically allocated type hasSerhiy Storchaka2015-01-281-0/+14
| | | | no dynamically allocated bases.
* Issue #21408: The default __ne__() now returns NotImplemented if __eq__()Serhiy Storchaka2015-01-261-2/+7
| | | | returned NotImplemented. Removed incorrect implementations of __ne__().
* Issue #23321: Fixed a crash in str.decode() when error handler returnedSerhiy Storchaka2015-01-251-2/+6
| | | | replacment string longer than mailformed input data.
* Issue #23181: More "codepoint" -> "code point".Serhiy Storchaka2015-01-181-2/+2
|
* remove buzzword (closes #23210)Benjamin Peterson2015-01-091-1/+1
|
* Issue #22581: Use more "bytes-like object" throughout the docs and comments.Serhiy Storchaka2014-12-052-5/+4
|
* Issue #20335: bytes constructor now raises TypeError when encoding or errorsSerhiy Storchaka2014-12-021-7/+7
| | | | is specified with non-string argument. Based on patch by Renaud Blanch.
* Issue #22975: Close block at right place.Serhiy Storchaka2014-12-011-1/+1
|
* remove tautological condition (closes #22954)Benjamin Peterson2014-11-271-1/+1
|
* Issue #22335: Fix crash when trying to enlarge a bytearray to 0x7fffffff ↵Antoine Pitrou2014-11-022-11/+18
| | | | bytes on a 32-bit platform.
* Closes #22772: fix __ifloordiv__ and __itruediv__ docstring.Georg Brandl2014-10-311-2/+2
|
* Issue #22653: Fix an assertion failure in debug mode when doing a reentrant ↵Antoine Pitrou2014-10-171-3/+3
| | | | dict insertion in debug mode.
* Merge 3.3Benjamin Peterson2014-10-161-1/+1
|\
| * Fixed signed/unsigned comparison warningAntoine Pitrou2014-10-151-1/+1
| |
* | merge 3.3Benjamin Peterson2014-10-151-3/+2
|\ \ | |/
| * it suffices to check for PY_SSIZE_T_MAX overflow (#22643)Benjamin Peterson2014-10-151-3/+2
| |
* | Merge 3.3Benjamin Peterson2014-10-151-1/+1
|\ \ | |/
| * make sure length is unsignedBenjamin Peterson2014-10-151-1/+1
| |
* | merge 3.3 (#22643)Benjamin Peterson2014-10-151-0/+5
|\ \ | |/
| * fix integer overflow in unicode case operations (closes #22643)Benjamin Peterson2014-10-151-0/+5
| |
* | Issue #22604: Fix assertion error in debug mode when dividing a complex ↵Antoine Pitrou2014-10-101-2/+6
| | | | | | | | number by (nan+0j).
* | merge 3.3 (#22520)Benjamin Peterson2014-09-301-11/+17
|\ \ | |/
| * prevent overflow in unicode_repr (closes #22520)Benjamin Peterson2014-09-301-11/+17
| |
* | merge 3.3Benjamin Peterson2014-09-291-1/+1
|\ \ | |/
| * these variables ought to be Py_ssize_tBenjamin Peterson2014-09-291-1/+1
| |
* | merge 3.3 (closes #22519)Benjamin Peterson2014-09-291-12/+16
|\ \ | |/
| * fix overflow checking in PyBytes_Repr (closes #22519)Benjamin Peterson2014-09-291-12/+16
| |
* | merge 3.3 (closes #22518)Benjamin Peterson2014-09-291-17/+47
|\ \ | |/
| * cleanup overflowing handling in unicode_decode_call_errorhandler and ↵Benjamin Peterson2014-09-291-18/+56
| | | | | | | | unicode_encode_ucs1 (closes #22518)
* | s/stringobject/bytesobject/ (closes #22036)Benjamin Peterson2014-07-241-1/+1
| | | | | | | | Patch by Martin Matusiak.
* | Issue #21897: Fix a crash with the f_locals attribute with closure variables ↵Antoine Pitrou2014-07-051-1/+1
| | | | | | | | when frame.clear() has been called.
* | Issue #21892, #21893: Partial revert of changeset 4f55e802baf0, PyErr_Format()Victor Stinner2014-07-041-18/+8
| | | | | | | | uses "%zd" for Py_ssize_t, not PY_FORMAT_SIZE_T
* | Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format CVictor Stinner2014-07-011-11/+23
| | | | | | | | size_t, because %zi/%u is not supported on all platforms.
* | use NULL not 0Benjamin Peterson2014-06-271-9/+6
| |
* | Issue #21669: Special case print & exec syntax errorsNick Coghlan2014-06-161-0/+135
| |
* | Issue #21418: Fix a crash in the builtin function super() when called withoutVictor Stinner2014-05-121-2/+9
| | | | | | | | argument and without current frame (ex: embedded Python).
* | Fix a typo in the docstring of nb_index.Zachary Ware2014-04-181-1/+1
| |
* | Fix a typo in the signature for object.__ge__Zachary Ware2014-04-181-1/+1
| |
* | Issue #21118: Fix _PyUnicodeTranslateError_Create(), add missing formatVictor Stinner2014-04-041-1/+1
| | | | | | | | character for the "end" parameter
* | bail in unicode error's __str__ methods if the objects are not properly ↵Benjamin Peterson2014-04-021-0/+12
| | | | | | | | initialized (closes #21134)
* | Issue #21073: explain why Py_ReprEnter() allows for a missing thread state.Antoine Pitrou2014-03-311-0/+2
| |
* | merge 3.3Benjamin Peterson2014-03-301-19/+19
|\ \ | |/
| * merge 3.2Benjamin Peterson2014-03-301-19/+19
| |\
| | * fix expandtabs overflow detection to be consistent and not rely on signed ↵Benjamin Peterson2014-03-301-19/+19
| | | | | | | | | | | | overflow