Return True if module_name matches any skip pattern.
(self, module_name)
| 191 | # definition of stopping and breakpoints. |
| 192 | |
| 193 | def is_skipped_module(self, module_name): |
| 194 | "Return True if module_name matches any skip pattern." |
| 195 | if module_name is None: # some modules do not have names |
| 196 | return False |
| 197 | for pattern in self.skip: |
| 198 | if fnmatch.fnmatch(module_name, pattern): |
| 199 | return True |
| 200 | return False |
| 201 | |
| 202 | def stop_here(self, frame): |
| 203 | "Return True if frame is below the starting frame in the stack." |