MCPcopy Index your code
hub / github.com/python/cpython / get_debug

Method get_debug

Lib/test/test_asyncio/test_futures.py:45–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 """Base class for UAF and other evil stuff requiring an evil event loop."""
44
45 def get_debug(self): # to suppress tracebacks
46 return False
47
48 def __del__(self):
49 # Automatically close the evil event loop to avoid warnings.

Callers 7

test_saveallMethod · 0.45
setUpMethod · 0.45
setUpModuleFunction · 0.45
mainMethod · 0.45
test_non_debugMethod · 0.45
test_debugMethod · 0.45
test_set_debugMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected