[Python-checkins] python/dist/src/Mac/Distributions dev.include,1.25,1.26

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Fri, 14 Jun 2002 13:41:45 -0700


Update of /cvsroot/python/python/dist/src/Mac/Distributions
In directory usw-pr-cvs1:/tmp/cvs-serv18223/Mac/Distributions

Modified Files:
	dev.include 
Log Message:
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]


Index: dev.include
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Distributions/dev.include,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** dev.include	27 Dec 2001 23:01:17 -0000	1.25
--- dev.include	14 Jun 2002 20:41:13 -0000	1.26
***************
*** 502,506 ****
  (':Modules:mmapmodule.c', None)
  (':Modules:mpzmodule.c', None)
- (':Modules:newmodule.c', None)
  (':Modules:nismodule.c', None)
  (':Modules:operator.c', None)
--- 502,505 ----