(vm: &VirtualMachine)
| 1404 | } |
| 1405 | |
| 1406 | fn update_use_tracing(vm: &VirtualMachine) { |
| 1407 | let trace_is_none = vm.is_none(&vm.trace_func.borrow()); |
| 1408 | let profile_is_none = vm.is_none(&vm.profile_func.borrow()); |
| 1409 | let tracing = !(trace_is_none && profile_is_none); |
| 1410 | vm.use_tracing.set(tracing); |
| 1411 | } |
| 1412 | |
| 1413 | #[pyfunction] |
| 1414 | fn set_coroutine_origin_tracking_depth(depth: i32, vm: &VirtualMachine) -> PyResult<()> { |
no test coverage detected