MCPcopy Index your code
hub / github.com/RustPython/RustPython / is_enabled

Function is_enabled

crates/stdlib/src/faulthandler.rs:779–781  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

777 // faulthandler_is_enabled
778 #[pyfunction]
779 fn is_enabled() -> bool {
780 FATAL_ERROR.enabled.load(Ordering::Relaxed)
781 }
782
783 fn format_timeout(timeout_us: u64) -> String {
784 let sec = timeout_us / 1_000_000;

Callers 1

registerFunction · 0.70

Calls 4

loadMethod · 0.45
lockMethod · 0.45
as_refMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected