Skip to content

Support Python 3.15 beta#5259

Open
harshil21 wants to merge 3 commits into
masterfrom
py315
Open

Support Python 3.15 beta#5259
harshil21 wants to merge 3 commits into
masterfrom
py315

Conversation

@harshil21

Copy link
Copy Markdown
Member

Closes #5231

I could not get the lazy imports feature to actually fully work with our library, somewhere along the path all dependencies are eagerly resolved. Doing lazy import telegram does work and everything is lazy, until you first use just one class, and then everything is imported all at once, which defeats the point. I may look more deeply into this later.

@harshil21 harshil21 requested a review from aelkheir June 8, 2026 19:43
@harshil21 harshil21 added the 🔗 python related technology: python label Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔗 python related technology: python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Python 3.15 feature: Lazy imports

1 participant