We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75f38af commit ad8d574Copy full SHA for ad8d574
Lib/_pyrepl/__main__.py
@@ -1,6 +1,10 @@
1
# Important: don't add things to this module, as they will end up in the REPL's
2
# default globals. Use _pyrepl.main instead.
3
4
+# Avoid caching this file by linecache and incorrectly report tracebacks.
5
+# See https://github.com/python/cpython/issues/129098.
6
+__spec__ = __loader__ = None
7
+
8
if __name__ == "__main__":
9
from .main import interactive_console as __pyrepl_interactive_console
10
__pyrepl_interactive_console()
0 commit comments