Commit 56b03c7
Remove private module stubs and their re-exports
Judgement calls — removed:
- sampling/_css_utils.pyi: deleted — private module (_css_utils) used
only internally by stack_collector and heatmap_collector; get_combined_css
is not part of any public API
- sampling/_format_utils.pyi: deleted — private module (_format_utils)
used only internally; fmt is a simple formatting helper not intended
for external use
- sampling/_sync_coordinator.pyi: deleted — private module only containing
main() -> Never, which is a subprocess entry point never called externally
- sampling/_child_monitor.pyi: removed get_child_pids and is_python_process
— private utility functions used only inside _child_monitor itself;
ChildProcessMonitor kept because it is re-exported from cli.pyi
- sampling/heatmap_collector.pyi: removed re-exports of get_combined_css
and fmt — these are private implementation imports, not part of
HeatmapCollector's public API
- sampling/stack_collector.pyi: removed re-export of get_combined_css —
same reason as above
- sampling/sample.pyi: removed re-export of fmt — private formatting
helper leaked into a public module's stub
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 56a1924 commit 56b03c7
File tree
7 files changed
+0
-12
lines changed- stdlib/profiling/sampling
7 files changed
+0
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
0 commit comments