SIGN IN SIGN UP

gh-149010: Improve reliability of inspect CLI (#149357)

* Handle non-source modules more gracefully (and consistently)
* Improve handling of frozen modules (which may or may not have source)
* Avoid reporting misleading info when looking up objects via aliases
* Refactor CLI implementation to improve testability
* Add several more test cases

Closes #149010
A
Alyssa Coghlan committed
5235467b9183a8be8675aed17bd5b5a993975da7
Parent: c3972f2
Committed by GitHub <noreply@github.com> on 5/4/2026, 1:42:20 PM