cpython/Objects
Amaury Forgeot d'Arc fc5ea39289 #3967: Correct a crash in count() and find() methods of string-like objects.
For example:
   "".count("xxxx", sys.maxint, 0)

Reviewed by Benjamin Peterson.
Will port to 2.5 and 3.0.
2008-09-26 22:34:08 +00:00
..
stringlib #3967: Correct a crash in count() and find() methods of string-like objects. 2008-09-26 22:34:08 +00:00
abstract.c Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as to 2008-08-26 22:42:08 +00:00
boolobject.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
bufferobject.c Change the warning emitted for using the buffer() object; memoryview() in 3.0 2008-08-08 04:15:53 +00:00
bytearrayobject.c Silenced compiler warning 2008-08-22 19:47:25 +00:00
bytes_methods.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
cellobject.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
classobject.c generate py3k warnings on __getslice__, __delslice__, and __setslice__ 2008-08-24 18:10:20 +00:00
cobject.c #3668: When PyArg_ParseTuple correctly parses a s* format, but raises an 2008-08-29 18:39:48 +00:00
codeobject.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
complexobject.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
descrobject.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
dictnotes.txt Patch #1397848: add the reasoning behind no-resize-on-shrinkage. 2007-02-15 09:51:35 +00:00
dictobject.c - Issue #3537: Fix an assertion failure when an empty but presized dict 2008-08-11 09:07:59 +00:00
enumobject.c Convert from long to Py_ssize_t. 2008-07-24 07:04:55 +00:00
exceptions.c backport r64751 2008-07-30 17:45:10 +00:00
fileobject.c #3965: on Windows, open() crashes if the filename or the mode is invalid, 2008-09-25 20:52:56 +00:00
floatobject.c should use macro'ed symbols not direct 2008-09-22 14:10:54 +00:00
frameobject.c Issue2378: pdb would delete free variables when stepping into a class statement. 2008-07-21 22:00:38 +00:00
funcobject.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
genobject.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
intobject.c - Issue #2862: Make int and float freelist management consistent with other 2008-07-06 03:35:58 +00:00
iterobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
listobject.c Issue 2235: __hash__ is once again inherited by default, but inheritance can be blocked explicitly so that collections.Hashable remains meaningful 2008-07-15 14:27:37 +00:00
listsort.txt typo fix 2006-08-01 16:24:30 +00:00
longobject.c Issue #1481296: (again!) Make conversion of a float NaN to an int or 2008-08-04 21:30:09 +00:00
methodobject.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
moduleobject.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
object.c Issue 2235: __hash__ is once again inherited by default, but inheritance can be blocked explicitly so that collections.Hashable remains meaningful 2008-07-15 14:27:37 +00:00
obmalloc.c Bug #3951: Py_USING_MEMORY_DEBUGGER should not be enabled by default. 2008-09-25 04:12:50 +00:00
rangeobject.c Added better pickling support to xrange objects. 2008-06-10 04:01:23 +00:00
setobject.c Issue 2235: __hash__ is once again inherited by default, but inheritance can be blocked explicitly so that collections.Hashable remains meaningful 2008-07-15 14:27:37 +00:00
sliceobject.c Issue #3004: Minor fix to slice.indices(). slice(-10).indices(9) now 2008-06-20 14:53:43 +00:00
stringobject.c Issue #3751: str.rpartition would perform a left-partition when called with 2008-09-01 19:52:00 +00:00
structseq.c Fix: 2008-08-24 05:04:52 +00:00
tupleobject.c Security patches from Apple: prevent int overflow when allocating memory 2008-07-31 17:17:14 +00:00
typeobject.c Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as to 2008-08-26 22:42:08 +00:00
unicodectype.c Issue #3811: The Unicode database was updated to 5.1. 2008-09-10 13:38:12 +00:00
unicodeobject.c Fix varname in docstring. #3822. 2008-09-09 19:26:00 +00:00
unicodetype_db.h Issue #3811: The Unicode database was updated to 5.1. 2008-09-10 13:38:12 +00:00
weakrefobject.c Fix #3634 invalid return value from _weakref.ref(Exception).__init__ 2008-09-09 20:55:01 +00:00