Open
Conversation
Resolved a bug where only the first function decorated with would be reloaded on subsequent invocations. Also, enhanced exception handling to better manage specific cases, such as operating in non-interactive environments
Fix reloading issue with multiple decorated functions
…testing Configure testing workflow
Add typing. Fix tests. Add comments.
…ython versions. Update readme to reflect API change.
…ython versions. Update readme to reflect API change.
Bump version number reflecting API change. Upadte list of supported p…
Allow 'continue' in loop. Support while loop. Support multiple uses of reloading in a single source code file. Add tests. Satisfy pyright. Satisfy flake8. Properly export local variables from loop.
Fix tests on Python versions < 3.13. Improve tests.
Raise exception when reloading is not used as decorator or used outside of the context of a loop. Handle rename/remove of reloaded code.
…python-3-versions Add more Python 3 versions to CI.
Support reloading.reloading Fix tests Add tests
Lint with ruff.
Add tests.
Add test cases with import.
Add Windows to CI
Get variables from outer scope into function scope. Add tests.
Add associated test cases. Tidy imports.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request:
whileloop.breakandcontinuein reloaded loops.reloadingin one python file.import reloading.The fork is equipped with a new readme and Github Actions. Check it out here: https://github.com/nneskildsf/reloading.
I hope at least some of these improvements can be merged.
Fixes: #13, #17, #25, #26, #27.
Br Eskild