Talk Python To Me cover image

#369: Getting Lazy with Python Imports and PEP 690

Talk Python To Me

00:00

Import Side Effects

Some level of import side effects are just kind of built in thon. So even code that apparently looks very and clear of import side effect does technically have some site effects at import. Ites, ta, ta tos. You don't have like p t h files that are getting them away. Oow, before your mane gets calledofe go a, sorry. Sel berry: What if i just the very first line of my aptop pie, or whatever it is? I just say, import lazy  and then every subsequent thing from there on behaves that way. That way, if i distribute my ap to some one else, i don't have to convince

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