News for hackers. Stuff that matters.
Re:How the Python import system works by masklinn on Sunday July 25, 2021 @08:52AM (#27948805)
Are you sure you're not confusing changes to the import system with changes to the default sys.path (especially when executing a file)?

Because unless I'm missing something, the changes to the import system make this more reliable, not less: in Python 2, implicitly relative imports means `import x` might depend on the file's location. In Python 3, it does not, it depends solely on the setup of the sys.path.

There are no comments on this comment yet.