Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.
This repository was archived by the owner on Apr 2, 2026. It is now read-only.

Enhance auto-conflict resolve for namespace packages #14

@NiklasRosenstein

Description

@NiklasRosenstein

Currently, if a package is detected with _localimport._deduce() and conflicts with a module that is already imported, that module is removed from sys.modules temporarily (and moved to _localimport.state['disables']).

However, there might be a root.foo and root.bar in the global site, but only root.bar in the local site. The current approach simply gets rid of root and its submodules alltogether, but it would only need to disableroot.bar.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions