cpython/Objects
Guido van Rossum bea18ccde6 SF patch 568629 by Oren Tirosh: types made callable.
These built-in functions are replaced by their (now callable) type:

    slice()
    buffer()

and these types can also be called (but have no built-in named
function named after them)

    classobj (type name used to be "class")
    code
    function
    instance
    instancemethod (type name used to be "instance method")

The module "new" has been replaced with a small backward compatibility
placeholder in Python.

A large portion of the patch simply removes the new module from
various platform-specific build recipes.  The following binary Mac
project files still have references to it:

    Mac/Build/PythonCore.mcp
    Mac/Build/PythonStandSmall.mcp
    Mac/Build/PythonStandalone.mcp

[I've tweaked the code layout and the doc strings here and there, and
added a comment to types.py about StringTypes vs. basestring.  --Guido]
2002-06-14 20:41:17 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
abstract.c Close SF bug 563740. complex() now finds __complex__() in new style classes. 2002-06-06 15:45:38 +00:00
boolobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
bufferobject.c SF patch 568629 by Oren Tirosh: types made callable. 2002-06-14 20:41:17 +00:00
cellobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
classobject.c SF patch 568629 by Oren Tirosh: types made callable. 2002-06-14 20:41:17 +00:00
cobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
complexobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
descrobject.c SF patch 568629 by Oren Tirosh: types made callable. 2002-06-14 20:41:17 +00:00
dictobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
enumobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
fileobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
floatobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
frameobject.c Fix SF bug #505315: Make free and cell vars show up consistently in locals(). 2002-04-20 04:46:55 +00:00
funcobject.c SF patch 568629 by Oren Tirosh: types made callable. 2002-06-14 20:41:17 +00:00
intobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
iterobject.c SF 560736. Optimize list iteration by filling the tp_iter slot. 2002-05-31 21:40:38 +00:00
listobject.c Missed one use of new PyDoc_STRVAR macro 2002-06-14 02:04:18 +00:00
longobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
methodobject.c Introduce two new flag bits that can be set in a PyMethodDef method 2002-03-28 05:33:33 +00:00
moduleobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
object.c SF # 533070 Silence AIX C Compiler Warnings 2002-06-13 21:42:51 +00:00
obmalloc.c PyObject_Realloc(): If a small block is shrinking, bite the expense of 2002-05-02 20:19:34 +00:00
rangeobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
sliceobject.c SF patch 568629 by Oren Tirosh: types made callable. 2002-06-14 20:41:17 +00:00
stringobject.c SF bug # 493951 string.{starts,ends}with vs slices 2002-06-14 00:50:42 +00:00
structseq.c Remove PyMalloc_New and PyMalloc_Del. 2002-04-12 03:05:37 +00:00
tupleobject.c SF #561244 Micro optimizations 2002-06-13 21:11:11 +00:00
typeobject.c Inexplicably, recurse_down_subclasses() was comparing the object 2002-06-14 02:27:07 +00:00
unicodectype.c removed "register const" from scalar arguments to the unicode 2001-06-27 22:08:26 +00:00
unicodeobject.c Fix typo in exception message 2002-06-13 21:25:17 +00:00
unicodetype_db.h forgot to check in the new makeunicodedata.py script 2001-01-21 17:01:31 +00:00
weakrefobject.c Remove weakref free list. This has the side effect of fixing a memory 2002-03-27 15:18:21 +00:00
xxobject.c Use function instead of macro spellings for PyObject_memorystuff. 2002-05-23 15:51:20 +00:00