(path, exists=False)
| 472 | select_next = self.selector(parts) |
| 473 | |
| 474 | def select_recursive(path, exists=False): |
| 475 | match_pos = len(str(path)) |
| 476 | if match is None or match(str(path), match_pos): |
| 477 | yield from select_next(path, exists) |
| 478 | stack = [path] |
| 479 | while stack: |
| 480 | yield from select_recursive_step(stack, match_pos) |
| 481 | |
| 482 | def select_recursive_step(stack, match_pos): |
| 483 | path = stack.pop() |