Undocumented
Class | ReloaderLoop |
No class docstring; 0/3 instance variable, 0/1 class variable, 5/8 methods documented |
Class | StatReloaderLoop |
Undocumented |
Class | WatchdogReloaderLoop |
Undocumented |
Function | ensure_echo_on |
Ensure that echo mode is enabled. Some tools such as PDB disable it which causes usability issues after a reload. |
Function | run_with_reloader |
Run the given function in an independent Python interpreter. |
Variable | prefix |
Undocumented |
Variable | reloader_loops |
Undocumented |
Function | _find_common_roots |
Undocumented |
Function | _find_stat_paths |
Find paths for the stat reloader to watch. Returns imported module files, Python files under non-system paths. Extra files and Python files under extra directories can also be scanned. |
Function | _find_watchdog_paths |
Find paths for the stat reloader to watch. Looks at the same sources as the stat reloader, but watches everything under directories instead of individual files. |
Function | _get_args_for_reloading |
Determine how the script was executed, and return the args needed to execute it again in a new process. |
Function | _iter_module_paths |
Find the filesystem paths associated with imported modules. |
Function | _remove_by_pattern |
Undocumented |
Variable | _ignore_prefixes |
Undocumented |
Parameters | |
main_func:t.Callable[ | Undocumented |
extra_files:t.Optional[ | Undocumented |
exclude_patterns:t.Optional[ | Undocumented |
interval:t.Union[ | Undocumented |
reloader_type:str | Undocumented |
Undocumented
Parameters | |
paths:t.Iterable[ | Undocumented |
Returns | |
t.Iterable[ | Undocumented |
Find paths for the stat reloader to watch. Returns imported module files, Python files under non-system paths. Extra files and Python files under extra directories can also be scanned.
System paths have to be excluded for efficiency. Non-system paths, such as a project root or sys.path.insert, should be the paths of interest to the user anyway.
Parameters | |
extra_files:t.Set[ | Undocumented |
exclude_patterns:t.Set[ | Undocumented |
Returns | |
t.Iterable[ | Undocumented |
Parameters | |
extra_files:t.Set[ | Undocumented |
exclude_patterns:t.Set[ | Undocumented |
Returns | |
t.Iterable[ | Undocumented |
Returns | |
t.List[ | Undocumented |
Returns | |
t.Iterator[ | Undocumented |