Mercurial > cpython-lru_cache-weakref
comparison PCbuild/pythoncore.dsp @ 23868:8e6760bf1884 legacy-trunk
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]
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 14 Jun 2002 20:41:17 +0000 |
| parents | 8f1b371ffbaf |
| children | 63d1e3263f45 |
comparison
equal
deleted
inserted
replaced
| 23867:45d676933882 | 23868:8e6760bf1884 |
|---|---|
| 1251 !ENDIF | 1251 !ENDIF |
| 1252 | 1252 |
| 1253 # End Source File | 1253 # End Source File |
| 1254 # Begin Source File | 1254 # Begin Source File |
| 1255 | 1255 |
| 1256 SOURCE=..\Modules\newmodule.c | |
| 1257 | |
| 1258 !IF "$(CFG)" == "pythoncore - Win32 Release" | |
| 1259 | |
| 1260 !ELSEIF "$(CFG)" == "pythoncore - Win32 Debug" | |
| 1261 | |
| 1262 !ELSEIF "$(CFG)" == "pythoncore - Win32 Alpha Debug" | |
| 1263 | |
| 1264 !ELSEIF "$(CFG)" == "pythoncore - Win32 Alpha Release" | |
| 1265 | |
| 1266 !ENDIF | |
| 1267 | |
| 1268 # End Source File | |
| 1269 # Begin Source File | |
| 1270 | |
| 1271 SOURCE=..\Parser\node.c | 1256 SOURCE=..\Parser\node.c |
| 1272 | 1257 |
| 1273 !IF "$(CFG)" == "pythoncore - Win32 Release" | 1258 !IF "$(CFG)" == "pythoncore - Win32 Release" |
| 1274 | 1259 |
| 1275 !ELSEIF "$(CFG)" == "pythoncore - Win32 Debug" | 1260 !ELSEIF "$(CFG)" == "pythoncore - Win32 Debug" |
