This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class __Environment(): | |
| """ | |
| Create a Python root environment with local and global symbols and a builtins | |
| namespace | |
| """ | |
| globals: Dict #: global symbols | |
| locals: Dict #: local symbols | |
| builtins: Dict #: builtins namespace (``__builtins__``) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class AbstractClassError(Exception): | |
| pass | |
| class M(type): | |
| # staticmethod | |
| def __new__(cls, className, baseClasses, members, abstract): | |
| newClass = type.__new__(cls, className, baseClasses, members) | |
| if abstract: | |
| def newnew(cls, *_, **__): |
OlderNewer