cpython/Lib/test/test_inspect
Alyssa Coghlan 5235467b91
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
2026-05-04 23:42:20 +10:00
..
__init__.py
inspect_deferred_annotations.py
inspect_fodder.py
inspect_fodder2.py gh-139783: Fix inspect.getsourcelines() for the case when a decorator is followed by a comment or an empty line (GH-139836) 2025-10-10 10:51:24 +03:00
inspect_fodder3.py gh-131116: Fix inspect.getdoc() to work with cached_property objects (GH-131165) 2025-11-12 10:07:21 +00:00
inspect_stock_annotations.py
inspect_stringized_annotations.py
inspect_stringized_annotations_2.py
inspect_stringized_annotations_pep695.py
test_inspect.py gh-149010: Improve reliability of inspect CLI (#149357) 2026-05-04 23:42:20 +10:00