cpython/Objects
Guido van Rossum 7e30548285 Fix for SF bug 528132 (Armin Rigo): classmethod().__get__() segfault
The proper fix is not quite what was submitted; it's really better to
take the class of the object passed rather than calling PyMethod_New
with NULL pointer args, because that can then cause other core dumps
later.

I also added a testcase for the fix to classmethods() in test_descr.py.

I've already applied this to the 2.2 branch.
2002-03-18 03:09:06 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
abstract.c Fix leak of NotImplemented in previous checkin to PyNumber_Add(). 2002-03-08 21:28:54 +00:00
bufferobject.c Fix for Bug #216405: 2001-10-19 13:49:35 +00:00
cellobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
classobject.c Be smarter about clearing the weakref lists for instances, instance methods, 2001-10-26 17:56:51 +00:00
cobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
complexobject.c Declare real and imag as read-only attributes. 2002-02-08 21:26:07 +00:00
descrobject.c SF bug #493561: incorrect format string descrobject.c (Neal Norwitz) 2001-12-15 05:00:30 +00:00
dictobject.c SF bug #491415 PyDict_UpdateFromSeq2() unused 2001-12-11 18:51:08 +00:00
fileobject.c Patch #530105: Allow file object may to be subtyped 2002-03-15 17:42:16 +00:00
floatobject.c SF bug 525705: [2.2] underflow raise OverflowException. 2002-03-09 04:58:24 +00:00
frameobject.c Fix memory leak in dict_to_map(), SF bug [ #485152 ] memory leak in test_scope. 2001-12-06 15:48:16 +00:00
funcobject.c Fix for SF bug 528132 (Armin Rigo): classmethod().__get__() segfault 2002-03-18 03:09:06 +00:00
intobject.c Bugfix candidate. 2002-02-01 15:34:10 +00:00
iterobject.c Patch #427190: Implement and use METH_NOARGS and METH_O. 2001-08-16 13:15:00 +00:00
listobject.c Fix of SF bug #475877 (Mutable subtype instances are hashable). 2001-12-03 16:32:18 +00:00
longobject.c Patch #494047: removes 64-bit ?: to cope on plan9. 2002-03-09 12:02:59 +00:00
methodobject.c Add optional docstrings to getset descriptors. Fortunately, there's 2001-09-20 21:45:26 +00:00
moduleobject.c Fix for SF bug #529050 - ModuleType.__new__ crash. 2002-03-12 20:37:02 +00:00
object.c Patch #517521: Consider byte strings before Unicode strings 2002-03-15 13:40:30 +00:00
obmalloc.c Identifiers matching _[A-Z_]\w* are reserved for C implementations. 2001-03-11 18:36:13 +00:00
rangeobject.c Fix spelling mistakes. Bugfix candidates. 2002-01-29 00:53:41 +00:00
sliceobject.c Add values to tp_getattro and tp_flags so that dir(Ellipsis) will 2001-10-30 02:40:52 +00:00
stringobject.c %#x/%#X format conversion cleanup (see patch #450267): 2002-02-28 11:38:24 +00:00
structseq.c Guido pointed out that I was missing a couple decrefs. 2002-03-07 15:13:40 +00:00
tupleobject.c _PyTuple_Resize(): this dumped core on tuple(globals()) for me. Turns 2001-12-07 20:00:04 +00:00
typeobject.c SF patch 530070: pydoc regression, from Martin and Guido. 2002-03-17 18:56:20 +00:00
unicodectype.c removed "register const" from scalar arguments to the unicode 2001-06-27 22:08:26 +00:00
unicodeobject.c %#x/%#X format conversion cleanup (see patch #450267): 2002-02-28 11:38:24 +00:00
unicodetype_db.h forgot to check in the new makeunicodedata.py script 2001-01-21 17:01:31 +00:00
weakrefobject.c proxy_compare(): Make sure that we unwrap both objects being compared if 2001-12-19 16:44:30 +00:00
xxobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00