https://github.com/python/cpython/commit/9c2620964e46cc9d3e31f3cdea329e44ebbb86fb
commit: 9c2620964e46cc9d3e31f3cdea329e44ebbb86fb
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: pablogsal <[email protected]>
date: 2026-05-20T12:00:49Z
summary:

[3.15] gh-150034: Print JSONL filename when profiling finishes (GH-150035) 
(#150151)

files:
M Lib/profiling/sampling/jsonl_collector.py

diff --git a/Lib/profiling/sampling/jsonl_collector.py 
b/Lib/profiling/sampling/jsonl_collector.py
index 7d26129b80de86..5aa42ef09024dc 100644
--- a/Lib/profiling/sampling/jsonl_collector.py
+++ b/Lib/profiling/sampling/jsonl_collector.py
@@ -164,6 +164,7 @@ def export(self, filename):
                 self._iter_final_agg_entries(),
             )
             self._write_message(output, self._build_end_record())
+        print(f"JSONL profile written to {filename}")
 
     def _build_meta_record(self):
         record = {

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to