Contribute Media
A thank you to everyone who makes this possible: Read More

How Import Works

Translations: en en

Description

This talk will go over how something as simple as from packaging import version turns out to be a little complicated. The details of imports -- from how the import statement is interpreted to how to decide what object to return -- will be discussed. While the talk will discuss things from the perspective of Python 3.3 (and thus importlib), the overall semantics will (mostly) apply to older versions of Python.

Details

Improve this page