]> granicus.if.org Git - python/commitdiff
Removed TRACE_REFS and REF_DEBUG b/w compat hacks -- they don't work.
authorGuido van Rossum <guido@python.org>
Wed, 22 May 1996 16:30:09 +0000 (16:30 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 22 May 1996 16:30:09 +0000 (16:30 +0000)
Added defs for getbuiltindict, getbuiltinmod (bltinmodule.c).

Include/rename2.h

index eeee9be70fc310cccc352ca0b2f2ba6edb3aacdc..078e34727d7de382c2395ca6d857da503b89e162 100644 (file)
@@ -52,14 +52,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #define Anysequencetype PyAnySequence_Type
 #define Anymappingtype PyAnyMapping_Type
 
-#ifdef Py_TRACE_REFS
-#define TRACE_REFS
-#endif
-
-#ifdef Py_REF_DEBUG
-#define REF_DEBUG
-#endif
-
 #define FalseObject _Py_ZeroStruct
 #define NoObject _Py_NoneStruct
 #define TrueObject _Py_TrueStruct
@@ -349,6 +341,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #define coerce PyNumber_Coerce
 #define getbuiltin PyBuiltin_GetObject
 #define initbuiltin PyBuiltin_Init
+#define getbuiltindict PyBuiltin_GetDict
+#define getbuiltinmod PyBuiltin_GetModule
 #define initmarshal PyMarshal_Init
 #define initmodule Py_InitModule
 #define initmodule4 Py_InitModule4