From: Stefan Behnel Date: Wed, 11 Nov 2009 07:29:40 +0000 (+0100) Subject: comment X-Git-Tag: 0.12.rc0~1^2~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=83f1ea66a5c279179cb2c8fc7aaa8f9daf5a38d9;p=cython.git comment --- diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index 9facac75..071748fb 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -1068,8 +1068,10 @@ class OptimizeBuiltinCalls(Visitor.EnvTransform): # different types - may or may not lead to an error at runtime return node - # FIXME: we could potentially look up the actual tp_new C method - # of the extension type and call that instead of the generic slot + # FIXME: we could potentially look up the actual tp_new C + # method of the extension type and call that instead of the + # generic slot. That would also allow us to pass parameters + # efficiently. if not type_arg.type_entry: # arbitrary variable, needs a None check for safety