cpython/Objects
Guido van Rossum b2173c3146 Allow assignments to instance.__dict__ and instance.__class__. The
former lets you give an instance a set of new instance vars.  The
latter lets you give it a new class.  Both are typechecked and
disallowed in restricted mode.

For classes, the check for read-only special attributes is tightened
so that only assignments to __dict__, __bases__, __name__,
__getattr__, __setattr__, and __delattr__ (these could be made to work
as well, but I don't know if that's useful -- let's see first whether
mucking with instances will help).
1997-08-25 21:23:56 +00:00
..
Makefile.in New build procedure. 1997-07-19 19:39:57 +00:00
abstract.c Renamed a local variable from 'PyCFunction' (which is also a typedef 1997-05-20 22:09:08 +00:00
classobject.c Allow assignments to instance.__dict__ and instance.__class__. The 1997-08-25 21:23:56 +00:00
cobject.c Keep gcc -Wall happy. 1997-02-14 21:12:56 +00:00
complexobject.c Got rid of c_error in favor of errno (and EDOM/ERANGE). 1997-05-20 18:21:34 +00:00
dictobject.c Made lookdict nearly twice as fast, resulting in a 5% overall 1997-08-18 21:52:47 +00:00
fileobject.c Use lseek instead of ftell; compensate by adding BUFSIZE 1997-08-21 02:31:25 +00:00
floatobject.c Added _Fini() routines to free up some memory 1997-08-05 02:16:08 +00:00
frameobject.c Provide a dummy empty directory as f_builtins instead of failing, when 1997-08-05 02:09:46 +00:00
funcobject.c Fix bug in comparing function objects detected by Sjoerd: 1997-08-05 16:51:05 +00:00
intobject.c Added _Fini() routines to free up some memory 1997-08-05 02:16:08 +00:00
listobject.c Rename roundup() to roundupsize(), as there's a macro roundup() in the 1997-08-25 18:36:23 +00:00
longobject.c Quickly renamed the last directory. 1997-05-02 03:12:38 +00:00
methodobject.c Added separate free list for cfunction (builtin method) objects, for a 1997-08-05 02:11:41 +00:00
moduleobject.c removed last #ifdef SUPPORT_OBSOLETE_ACCESS bits. 1997-05-09 01:07:15 +00:00
object.c Fix mixup about PyErr_NoMemory() prototype. 1997-08-12 14:54:54 +00:00
rangeobject.c Quickly renamed the last directory. 1997-05-02 03:12:38 +00:00
sliceobject.c Ellipses -> Ellipsis rename (the dictionary really says that it should 1996-10-11 16:25:41 +00:00
stringobject.c Change the Fini function to only remove otherwise unreferenced strings 1997-08-05 02:15:12 +00:00
tupleobject.c PyTuple_SetItem should require that the tuple's refcnt is one! 1997-08-17 16:25:45 +00:00
typeobject.c American spelling in doc string. 1997-06-02 14:43:07 +00:00
xxobject.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00