mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Merged revisions 71722 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71722 | benjamin.peterson | 2009-04-18 15:12:47 -0500 (Sat, 18 Apr 2009) | 1 line try to initalize all builtin types with PyType_Ready to avoid problems like #5787 ........
This commit is contained in:
parent
332424777f
commit
ae937c021d
4 changed files with 79 additions and 8 deletions
|
|
@ -577,7 +577,9 @@ static PyObject *builtin_object;
|
|||
int _PyFrame_Init()
|
||||
{
|
||||
builtin_object = PyUnicode_InternFromString("__builtins__");
|
||||
return (builtin_object != NULL);
|
||||
if (builtin_object == NULL)
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
PyFrameObject *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue