cpython/Objects
Guido van Rossum 0628dcfe1f "Fix" for SF bug #520644: __slots__ are not pickled.
As promised in my response to the bug report, I'm not really fixing
it; in fact, one could argule over what the proper fix should do.
Instead, I'm adding a little magic that raises TypeError if you try to
pickle an instance of a class that has __slots__ but doesn't define or
override __getstate__.  This is done by adding a bozo __getstate__
that always raises TypeError.
2002-03-14 23:03:14 +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 Change Windows file.truncate() to (a) restore the original file position, 2002-03-12 03:04:44 +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 Portability fix: Not every compiler implements the extension of 2001-12-17 11:39:56 +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 Whether platform malloc(0) returns NULL has nothing to do with whether 2002-03-02 08:43:19 +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 "Fix" for SF bug #520644: __slots__ are not pickled. 2002-03-14 23:03:14 +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