native lazy imports with PEP810 - #172
Conversation
stefanv
left a comment
There was a problem hiding this comment.
Thanks, @benedikt-bartscher. This PR looks roughly right to me, but with lazy loading the devil often lies in the details. Presumably, this is an AI assisted contribution; have you tested it exhaustively?
I also noted some AI-flavor text in the README, and asked if you would mind editing that down to be a bit more parsable.
|
|
||
| ### Native lazy imports on Python 3.15+ | ||
|
|
||
| Python 3.15 introduced native lazy imports |
There was a problem hiding this comment.
Could you please edit this paragraph to be more concise and readable?
|
Hi @stefanv thanks for your review. Yes, this is written with AI contribution. I have tested it in some big projects, which we are using on a daily basis. I will keep polishing the PR over the weekend. |
|
@benedikt-bartscher I'll probably put out a new release soon, in case you're interested in getting this in. |
|
As a curiosity, do you know of an advantage of this approach? My intuition is that it should be "safer", but it would be helpful to have a concrete example. |
No description provided.