Skip to content

Autoreload capability in native REPLΒ #24648

Open
@abielr

Description

@abielr

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.

Metadata

Metadata

Assignees

Labels

community askFeature request that the community expressed interest infeature-requestRequest for new features or functionalityneeds community feedbackAwaiting community feedback

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions