[Python-checkins] python/dist/src/Mac/MPW Makefile,1.7,1.8

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


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

Modified Files:
	Makefile 
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: Makefile
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/MPW/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Makefile	10 Mar 1995 15:12:23 -0000	1.7
--- Makefile	14 Jun 2002 20:41:13 -0000	1.8
***************
*** 78,82 ****
  	"{Objs}"myreadline.c.o ¶
  	"{Objs}"mystrtoul.c.o ¶
- 	"{Objs}"newmodule.c.o ¶
  	"{Objs}"nfullpath.c.o ¶
  	"{Objs}"node.c.o ¶
--- 78,81 ----
***************
*** 473,479 ****
  "{Objs}"mathmodule.c.o Ä "{Top}"Modules:mathmodule.c
  	{CC} "{Top}"Modules:mathmodule.c -o "{Objs}"mathmodule.c.o -s mathmodule.c {CFlags}
- 
- "{Objs}"newmodule.c.o Ä "{Top}"Modules:newmodule.c
- 	{CC} "{Top}"Modules:newmodule.c -o "{Objs}"newmodule.c.o -s newmodule.c {CFlags}
  
  "{Objs}"parsermodule.c.o Ä "{Top}"Modules:parsermodule.c
--- 472,475 ----