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

Allow importing of implicit modules #462

Closed
Tracked by #424
mark-koch opened this issue Sep 5, 2024 · 0 comments · Fixed by #461
Closed
Tracked by #424

Allow importing of implicit modules #462

mark-koch opened this issue Sep 5, 2024 · 0 comments · Fixed by #461
Assignees

Comments

@mark-koch
Copy link
Collaborator

No description provided.

@mark-koch mark-koch added this to the guppylang 0.10.0 milestone Sep 5, 2024
@mark-koch mark-koch self-assigned this Sep 5, 2024
github-merge-queue bot pushed a commit that referenced this issue Sep 11, 2024
Closes #133 and closes #462.

* When using implicit modules, automatically import definitions by
inspecting the `__dict__` of the containing Python module.
* Implicit modules are no longer discarded once they are compiled for
the first time.
* Updated examples to use implicit modules

BREAKING CHANGE: `guppy.take_module` renamed to `guppy.get_module` and
no longer removes the module from the state.
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

Successfully merging a pull request may close this issue.

2 participants