Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix discovery of modules in namespace packages #228

Merged

Commits on Mar 21, 2024

  1. Fix discovery of modules in namespace packages

    Instead of relying on `__init__.py` files, stop at the first parent
    directory that is in `sys.path`. This gives the shortest module name
    under which the file can really be imported. (Unless there are name
    conflicts in `sys.path`, which is arguably a misconfiguration; this
    is caught by the location check in `module_tree`.)
    eltoder committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    8a58ef1 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2024

  1. Address review comments

    eltoder committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    682c688 View commit details
    Browse the repository at this point in the history
  2. Update documentation

    eltoder committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    9d6ae69 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8626cc2 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. Address review comments

    eltoder committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    908f6d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f60d08 View commit details
    Browse the repository at this point in the history