Commit Graph

14 Commits

Author SHA1 Message Date
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
Guido van Rossum e23e1fbaa6 moved bgen to Tools 1995-03-10 15:12:23 +00:00
Guido van Rossum cfa00ea19a don't use math at all 1995-03-04 22:32:54 +00:00
Guido van Rossum 2e1db7756f Update 1995-02-26 10:18:37 +00:00
Guido van Rossum 7fb1dcc437 added ctb 1995-02-21 20:58:30 +00:00
Guido van Rossum 156380e382 added shared library glue 1995-02-20 23:42:10 +00:00
Guido van Rossum 23c0150b14 The Makefile 1995-02-19 15:47:04 +00:00
Guido van Rossum a6da03fbbe newer stuff 1995-02-18 15:04:52 +00:00
Guido van Rossum 00effaf688 asdded applet info 1995-02-18 15:04:26 +00:00
Guido van Rossum 1b2fe8e62b new Makefile and everything 1995-02-17 14:49:28 +00:00
Guido van Rossum 2d54692fcc completely redone 1995-02-17 14:28:39 +00:00
Guido van Rossum 31e7642340 Added some more files to Mac-Makefile (not tested!); finishing touch
to README.MPW.
1994-09-16 11:08:31 +00:00
Guido van Rossum c0af2aafeb Add'l notes by Guido 1994-09-09 12:10:21 +00:00
Guido van Rossum 8ce65b4cde README, Makfiles and `buildall' script to build Python under MPW 3.2. 1994-08-29 08:58:39 +00:00