Talk Python To Me cover image

#369: Getting Lazy with Python Imports and PEP 690

Talk Python To Me

00:00

How to Fix Lazy Import Cycles in Python?

The only import cycles that lazy imports don't fix are the ones where basically it would be a cycle, even if you had it in the same moletule. Those kinds of by directional relationships are hard to model. So hopefully this ill solve some of those sues. If you've got an application or something that's using this late, these lazy imports, and then you'd turn them off, you might be hit with a bunch of cycles that were sort of, you know, hid em from you because of the lazy feature. It's just one of those things to watch out for.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app