[error] also exclude concurrent.futures.process from traces
This commit is contained in:
parent
ebd1fbdfbf
commit
83850c1cbc
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user