Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with using __builtins__.__dict__ for reserved names #47

Closed
fiatjaf opened this issue Sep 20, 2013 · 0 comments
Closed

Problem with using __builtins__.__dict__ for reserved names #47

fiatjaf opened this issue Sep 20, 2013 · 0 comments

Comments

@fiatjaf
Copy link

fiatjaf commented Sep 20, 2013

When minipy is used as a module (or in metainterpeters like bpython) __builtins__ is a dict so it doesn't have a __dict__ attribute, which causes an error.

See http://stackoverflow.com/questions/1184016/why-builtins-is-both-module-and-dict for more context.

Exception handling will take care of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant