[issue14385] Support other types than dict for __builtins__

STINNER Victor report at bugs.python.org
Wed Apr 18 13:54:08 CEST 2012


STINNER Victor <victor.stinner at gmail.com> added the comment:

-                assert(!builtins || PyDict_Check(builtins));
+                assert(!builtins);

Oops, the assert must be replaced with assert(builtins != NULL) -> fixed in patch version 4.

----------
Added file: http://bugs.python.org/file25257/builtins-4.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14385>
_______________________________________


More information about the Python-bugs-list mailing list