[issue42005] profile/cProfile CLI should catch BrokenPipeError

2021-01-20 Thread miss-islington
miss-islington added the comment: New changeset 0654c4c4cc54a325e878154f8b117159d0105cf7 by Miss Islington (bot) in branch '3.9': bpo-42005: profile and cProfile catch BrokenPipeError (GH-22643) https://github.com/python/cpython/commit/0654c4c4cc54a325e878154f8b117159d0105cf7 --

[issue42005] profile/cProfile CLI should catch BrokenPipeError

2021-01-20 Thread miss-islington
miss-islington added the comment: New changeset 648b72900b5039ab46b8b459f921daecb8db2a6b by Miss Islington (bot) in branch '3.8': bpo-42005: profile and cProfile catch BrokenPipeError (GH-22643) https://github.com/python/cpython/commit/648b72900b5039ab46b8b459f921daecb8db2a6b --

[issue42005] profile/cProfile CLI should catch BrokenPipeError

2021-01-20 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker ___

[issue42005] profile/cProfile CLI should catch BrokenPipeError

2021-01-20 Thread miss-islington
Change by miss-islington : -- pull_requests: +23088 pull_request: https://github.com/python/cpython/pull/24263 ___ Python tracker ___

[issue42005] profile/cProfile CLI should catch BrokenPipeError

2021-01-20 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +23087 pull_request: https://github.com/python/cpython/pull/24262 ___ Python tracker

[issue42005] profile/cProfile CLI should catch BrokenPipeError

2021-01-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3554fa4abecfb77ac5fcaa5ce8310eeca5683960 by Zhiming Wang in branch 'master': bpo-42005: profile and cProfile catch BrokenPipeError (GH-22643) https://github.com/python/cpython/commit/3554fa4abecfb77ac5fcaa5ce8310eeca5683960 --

[issue42005] profile/cProfile CLI should catch BrokenPipeError

2020-10-11 Thread Ammar Askar
Ammar Askar added the comment: Related: https://bugs.python.org/issue39828 -- nosy: +ammar2, vstinner ___ Python tracker ___ ___

[issue42005] profile/cProfile CLI should catch BrokenPipeError

2020-10-10 Thread Zhiming Wang
Change by Zhiming Wang : -- keywords: +patch pull_requests: +21617 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22643 ___ Python tracker ___

[issue42005] profile/cProfile CLI should catch BrokenPipeError

2020-10-10 Thread Zhiming Wang
New submission from Zhiming Wang : Since profile/cProfile CLI interface prints a sorted list of stats, using head to limit output to the most relevant entries should be a fairly natural thing to do. Unfortunately, BrokenPipeError isn't caught, causing quite a bit of pollution to the output: