(func)
| 78 | |
| 79 | |
| 80 | def _collect_load_names(func): |
| 81 | found_load_names = set() |
| 82 | for instruction in iter_instructions(func.__code__): |
| 83 | if instruction.opname in ("LOAD_GLOBAL", "LOAD_ATTR", "LOAD_METHOD"): |
| 84 | found_load_names.add(instruction.argrepr) |
| 85 | return found_load_names |
| 86 | |
| 87 | |
| 88 | def _patch_threading_to_hide_pydevd_threads(): |
no test coverage detected