Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _can_security_check
Function
_can_security_check
Lib/netrc.py:10–12 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8
9
10
def
_can_security_check():
11
# On WASI, getuid() is indicated as a stub but it may also be missing.
12
return
os.name ==
'posix'
and hasattr(os,
'getuid'
)
13
14
15
def
_getpwuid(uid):
Callers
1
_security_check
Method · 0.85
Calls
1
hasattr
Function · 0.85
Tested by
no test coverage detected