From: Guido van Rossum Date: Sat, 18 Jan 1997 07:58:41 +0000 (+0000) Subject: Intern the strings "__builtins__". X-Git-Tag: v1.5a1~469 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b56933ed2e1e2f921b8a20a6e8b9a9431a5cb447;p=thirdparty%2FPython%2Fcpython.git Intern the strings "__builtins__". --- diff --git a/Objects/frameobject.c b/Objects/frameobject.c index e416b4fe9d1f..546f1e8d722b 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -147,7 +147,7 @@ newframeobject(back, code, globals, locals, owner, nvalues, nblocks) frameobject *f; object *builtins; if (builtin_object == NULL) { - builtin_object = newstringobject("__builtins__"); + builtin_object = PyString_InternFromString("__builtins__"); if (builtin_object == NULL) return NULL; }