(
self,
sockfile,
signal_server=None,
owns_sockfile=True,
colorize=False,
**kwargs,
)
| 2742 | |
| 2743 | class _PdbServer(Pdb): |
| 2744 | def __init__( |
| 2745 | self, |
| 2746 | sockfile, |
| 2747 | signal_server=None, |
| 2748 | owns_sockfile=True, |
| 2749 | colorize=False, |
| 2750 | **kwargs, |
| 2751 | ): |
| 2752 | self._owns_sockfile = owns_sockfile |
| 2753 | self._interact_state = None |
| 2754 | self._sockfile = sockfile |
| 2755 | self._command_name_cache = [] |
| 2756 | self._write_failed = False |
| 2757 | if signal_server: |
| 2758 | # Only started by the top level _PdbServer, not recursive ones. |
| 2759 | self._start_signal_listener(signal_server) |
| 2760 | # Override the `colorize` attribute set by the parent constructor, |
| 2761 | # because it checks the server's stdout, rather than the client's. |
| 2762 | super().__init__(colorize=False, **kwargs) |
| 2763 | self.colorize = colorize |
| 2764 | |
| 2765 | @staticmethod |
| 2766 | def protocol_version(): |
nothing calls this directly
no test coverage detected