[error] also exclude concurrent.futures.process from traces

This commit is contained in:
Jan Petykiewicz 2025-10-30 01:25:06 -07:00
parent ebd1fbdfbf
commit 83850c1cbc

View File

@ -53,7 +53,7 @@ def format_stacktrace(
*, *,
skip_file_prefixes: tuple[str, ...] = (MASQUE_DIR,), skip_file_prefixes: tuple[str, ...] = (MASQUE_DIR,),
low_file_prefixes: tuple[str, ...] = ('<frozen', '<runpy', '<string>'), low_file_prefixes: tuple[str, ...] = ('<frozen', '<runpy', '<string>'),
low_file_suffixes: tuple[str, ...] = ('IPython/utils/py3compat.py', ), low_file_suffixes: tuple[str, ...] = ('IPython/utils/py3compat.py', 'concurrent/futures/process.py'),
) -> str: ) -> str:
""" """
Utility function for making nicer stack traces (e.g. excluding <frozen runpy> and similar) Utility function for making nicer stack traces (e.g. excluding <frozen runpy> and similar)