From d29fc38d1cdbbf198b5ae44681e360cf88e2e6dc Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 13 Oct 2016 08:54:44 +0100 Subject: [PATCH] Fix Python builtin binaryfunc slots when using -O Code did not compile - recent regression due to 848628 --- Source/Modules/python.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index 380cd98d5..b8dbb06b0 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -3339,6 +3339,8 @@ public: Printf(builtin_closures_code, "%s /* defines %s */\n\n", closure_decl, closure_name); SetFlag(builtin_closures, closure_name); Delete(closure_decl); + } else { + closure_name = Copy(wrapper_name); } if (func_type) { String *s = NewStringf("(%s) %s", func_type, closure_name);