diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2012-04-19 00:57:45 +0200 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2012-04-19 00:57:45 +0200 |
| commit | e4df8a8777b02802690f3b697689ee831be6ec9e (patch) | |
| tree | 4b6c6009dc192fac23e680d14bfa2410f71b800c /Python/errors.c | |
| parent | 0b28de60501348123c70f919fdba9de87f391c78 (diff) | |
| download | cpython-e4df8a8777b02802690f3b697689ee831be6ec9e.tar.gz | |
Issue #14385: Support other types than dict for __builtins__
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__.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions
