@@ -4,11 +4,6 @@ Project: core implementation
44Still to do
55-----------
66
7- Fix comparisons. There's some nasty stuff here: when two types are
8- not the same, and they're not instances, the fallback code doesn't
9- account for the possibility that they might be subtypes of a common
10- base type that defines a comparison.
11-
127Check for conflicts between base classes. I fear that the rules used
138to decide whether multiple bases have conflicting instance variables
149aren't strict enough. I think that sometimes two different classes
@@ -21,24 +16,33 @@ order should the base classes X and Y be searched? This is an order
2116conflict, and should be disallowed; currently the test for this is not
2217implemented.
2318
24- Allow __class__ assignment (and __bases__ and __dict__?).
19+ Allow assignment to __bases__ and __dict__?
2520
2621Make __dynamic__ the default.
2722
2823Add __del__ handlers.
2924
3025Add __coerce__?
3126
32- Support pickling (via __reduce__? )
27+ Support pickling (via __reduce__)
3328
3429Support mixed multiple inheritance from classic and new-style classes?
3530
36- Change __getattr__ to be more like classic __getattr__, and introduce
37- a new name for new-style __getattr__?
38-
3931Done (mostly)
4032-------------
4133
34+ Fix comparisons. There's some nasty stuff here: when two types are
35+ not the same, and they're not instances, the fallback code doesn't
36+ account for the possibility that they might be subtypes of a common
37+ base type that defines a comparison. *** I believe this is now done,
38+ but it's a bit of a mess. ***
39+
40+ Allow __class__ assignment. *** done ***
41+
42+ Change __getattr__ to be more like classic __getattr__, and introduce
43+ a new name for new-style __getattr__. *** Done. The new-style method
44+ is called __getattribute__. ***
45+
4246Make inspect and pydoc do the right thing for new-style classes. ***
4347done ***
4448
0 commit comments