cpython/Objects
Guido van Rossum f040ede6e8 Cosmetics:
- Add comment blocks explaining add_operators() and override_slots().
  (This file could use some more explaining, but this is all I had
  breath for today. :)

- Renamed the argument 'base' of add_wrappers() to 'wraps' because
  it's not a base class (which is what the 'base' identifier is used
  for elsewhere).

Small nits:

- Fix add_tp_new_wrapper() to avoid overwriting an existing __new__
  descriptor in tp_defined.

- In add_operators(), check the return value of add_tp_new_wrapper().

Functional change:

- Remove the tp_new functionality from PyBaseObject_Type; this means
  you can no longer instantiate the 'object' type.  It's only useful
  as a base class.

- To make up for the above loss, add tp_new to dynamic types.  This
  has to be done in a hackish way (after override_slots() has been
  called, with an explicit call to add_tp_new_wrapper() at the very
  end) because otherwise I ran into recursive calls of slot_tp_new().
  Sigh.
2001-08-07 16:40:56 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
abstract.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
bufferobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
cellobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
classobject.c Fix the test_weakref.py failure. Introduced by resolving "a conflict" 2001-08-02 04:45:20 +00:00
cobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
complexobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
descrobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
dictobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
fileobject.c Remove spurious "closed" attribute definition from the memberlist 2001-08-06 18:51:38 +00:00
floatobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
frameobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
funcobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
intobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
iterobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
listobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
longobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
methodobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
moduleobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
object.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
obmalloc.c Identifiers matching _[A-Z_]\w* are reserved for C implementations. 2001-03-11 18:36:13 +00:00
rangeobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
sliceobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
stringobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
tupleobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
typeobject.c Cosmetics: 2001-08-07 16:40:56 +00:00
unicodectype.c removed "register const" from scalar arguments to the unicode 2001-06-27 22:08:26 +00:00
unicodeobject.c Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
unicodetype_db.h forgot to check in the new makeunicodedata.py script 2001-01-21 17:01:31 +00:00
xxobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00