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 redefinition of Generators when in interactive mode #7053

Merged
merged 1 commit into from
Sep 28, 2022

Conversation

steven-johnson
Copy link
Contributor

It's really annoying to be using (e.g.) Colab/Jupyter/etc and get errors about "Generator already defined", so sniff for interactive mode and allow re-registration of the same name in that case.

It's really annoying to be using (e.g.) Colab/Jupyter/etc and get errors about "Generator already defined", so sniff for interactive mode and allow re-registration of the same name in that case.
@steven-johnson steven-johnson merged commit 236521b into main Sep 28, 2022
@steven-johnson steven-johnson deleted the srj/rereg branch September 28, 2022 16:57
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
It's really annoying to be using (e.g.) Colab/Jupyter/etc and get errors about "Generator already defined", so sniff for interactive mode and allow re-registration of the same name in that case.
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 this pull request may close these issues.

2 participants