Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ onexc
Function
onexc
Lib/shutil.py:833–834 ·
view source on GitHub ↗
(*args)
Source
from the content-addressed store, hash-verified
831
sys.audit(
"shutil.rmtree"
, path, dir_fd)
832
if
ignore_errors:
833
def
onexc(*args):
834
pass
835
elif
onerror is None and onexc is None:
836
def
onexc(*args):
837
raise
Callers
4
_rmtree_unsafe
Function · 0.85
onerror
Function · 0.85
_rmtree_safe_fd
Function · 0.85
_rmtree_safe_fd_step
Function · 0.85
Calls
1
onerror
Function · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…