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

Autoreload capability in native REPL #24648

Open
abielr opened this issue Dec 21, 2024 · 0 comments
Open

Autoreload capability in native REPL #24648

abielr opened this issue Dec 21, 2024 · 0 comments
Assignees
Labels
feature-request Request for new features or functionality triage-needed Needs assignment to the proper sub-team

Comments

@abielr
Copy link

abielr commented Dec 21, 2024

It would be great if the recently introduced native Python REPL added similar functionality to the Jupyter autoreload extension. When working interactively in a session, I frequently want to change code in imported modules and then immediately see the effects of those changes without restarting my session.

I find the most useful modes for the auto reload plugin are either %autoreload 0, which requires me to manually run %autoreload whenever I want to reload imported code, or %autoreload 2, which always automatically picks up changes. Ideally one could just have %autoreload 2 turned on all the time, though in practice I find that it slows down code even when there are no changes to reload, which is why I also like to be able to manually reload.

@abielr abielr added the feature-request Request for new features or functionality label Dec 21, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants