Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Wider Python version support: - Lowered minimum Python version requirement to 3.8. - Uses `sys.setprofile` for Python 3.8~3.11 and `sys.monitoring` for 3.12+. - Enhanced tracing logic to handle top-level external calls after imports: - Now checks caller frames to start tracing even if the first external function call occurs right after imports. - Verbose mode improvements: - `-v` now traces standard library functions in addition to built-ins, providing more detailed insights. - Added new examples: - `requests_example.py` and `torch_example.py` demonstrate tracing external libraries. - Various code refinements and bug fixes: - Consolidated tracing logic and removed redundant code. - Improved path normalization and encoding handling for cross-platform consistency.
- Loading branch information