Return a Set of sys.modules filenames to monitor.
(self)
| 624 | start.priority = 70 |
| 625 | |
| 626 | def sysfiles(self): |
| 627 | """Return a Set of sys.modules filenames to monitor.""" |
| 628 | search_mod_names = filter( |
| 629 | re.compile(self.match).match, |
| 630 | list(sys.modules.keys()), |
| 631 | ) |
| 632 | mods = map(sys.modules.get, search_mod_names) |
| 633 | return set(filter(None, map(self._file_for_module, mods))) |
| 634 | |
| 635 | @classmethod |
| 636 | def _file_for_module(cls, module): |