Skip to content

Commit

Permalink
docs: added todos to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
15r10nk committed Feb 9, 2024
1 parent 3a26b59 commit 0e74eb0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ from foo import bar

def f():
print(bar())
print(bar())
```

is internally transformed to:
Expand All @@ -80,13 +79,17 @@ bar = __lazy_imports_lite__.ImportFrom(__package__, "foo", "bar")

def f():
print(bar.v())
print(bar.v())
```

This transformation should be never visible to you (the original source location is preserved) but it is good to know if something does not work as expected.

You can view a preview of this transformation with `lazy-imports-lite preview <filename>`, if you want to know how your code would be changed.

## TODO

- [ ] windows support
- [ ] handle exec/eval
- [ ] mutable `globals()`

<!-- -8<- [start:Feedback] -->
## Issues
Expand Down

0 comments on commit 0e74eb0

Please sign in to comment.