From: Robert Bradshaw Date: Wed, 25 Mar 2009 22:46:35 +0000 (-0700) Subject: Don't have complex as a builtin type (otherwise, can't access its attributes). X-Git-Tag: 0.11.1.alpha~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=042c55d5886b06a498fa43ee912701d8a1ca2c83;p=cython.git Don't have complex as a builtin type (otherwise, can't access its attributes). --- diff --git a/Cython/Compiler/Builtin.py b/Cython/Compiler/Builtin.py index 30728d09..c7b1be6f 100644 --- a/Cython/Compiler/Builtin.py +++ b/Cython/Compiler/Builtin.py @@ -91,7 +91,10 @@ builtin_types_table = [ ("int", "PyInt_Type", []), ("long", "PyLong_Type", []), ("float", "PyFloat_Type", []), - ("complex", "PyComplex_Type", []), + +# Until we have a way to access attributes of a type, +# we don't want to make this one builtin. +# ("complex", "PyComplex_Type", []), ("bytes", "PyBytes_Type", []), ("str", "PyString_Type", []),