Helper function - check if error is BlockingIOError
(err: &Py<PyBaseException>, vm: &VirtualMachine)
| 1000 | |
| 1001 | /// Helper function - check if error is BlockingIOError |
| 1002 | pub(super) fn is_blocking_io_error(err: &Py<PyBaseException>, vm: &VirtualMachine) -> bool { |
| 1003 | err.fast_isinstance(vm.ctx.exceptions.blocking_io_error) |
| 1004 | } |
| 1005 | |
| 1006 | // Socket I/O Helper Functions |
| 1007 |
no test coverage detected