~mgedmin/findimports/master

Viewing all changes in revision 192.

  • Committer: Marius Gedminas
  • Date: 2019-10-31 19:55:13 UTC
  • Revision ID: git-v1:00bd3a553cccd468c8b3848004d80062581def76
Fix accidental module aliasing

When there was no top-level module or package available in sys.path
(like pylab), but there was a different module/package that was a prefix
of the first module (like py), findimports would incorrectly decide that
they were one and the same!

Fixes #10.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: