Repository navigation
Add as_package parameter to direct import methods (retry branch) - #336
Merged
Merged
Conversation
find_modules_directly_imported_by and find_modules_that_directly_import can now treat the supplied module as a package, as find_upstream_modules and find_downstream_modules already do. The result includes the modules that the package's descendants import (or that import them), and excludes modules within the package. direct_import_exists already had as_packages. Fixes #25. Assistant-model: Claude Code
seddonym
force-pushed
the
direct-import-methods-as-package-2
branch
from
November 13, 2026 13:11
c3f9ff8 to
65a1cfe
Compare
Merging this PR will improve performance by 10.71%
Performance Changes
Tip Curious why performance improved? Comment Comparing Footnotes
|
seddonym
marked this pull request as ready for review
November 13, 2026 13:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
find_modules_directly_imported_by and find_modules_that_directly_import can now treat the supplied module as a package, as find_upstream_modules and find_downstream_modules already do. The result includes the modules that the package's descendants import (or that import them), and excludes modules within the package.
direct_import_exists already had as_packages.
Fixes #25.
Assistant-model: Claude Code
latestsection at the top ofCHANGELOG.rst. (If it's not there, add it.)AUTHORS.rst.just full-check.