mirror of
https://github.com/python/cpython.git
synced 2026-05-14 16:38:19 -04:00
b0b224233e
It is now possible to use a custom type for the __builtins__ namespace, instead of a dict. It can be used for sandboxing for example. Raise also a NameError instead of ImportError if __build_class__ name if not found in __builtins__.