Print a message about internal inspect errors. These are unfortunately quite common.
()
| 145 | |
| 146 | # Utility functions |
| 147 | def inspect_error(): |
| 148 | """Print a message about internal inspect errors. |
| 149 | |
| 150 | These are unfortunately quite common.""" |
| 151 | |
| 152 | error('Internal Python error in the inspect module.\n' |
| 153 | 'Below is the traceback from this internal error.\n') |
| 154 | |
| 155 | |
| 156 | # This function is a monkeypatch we apply to the Python inspect module. We have |