File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -369,17 +369,11 @@ def main():
369369 global MAIN_PATH
370370 global MAIN_MODULE
371371 MAIN_PATH = ""
372- # TODO(philsc): Can we point at python.bin.repl instead? That would mean
373- # adding it as a dependency to all binaries.
374372 MAIN_MODULE = "code"
375373
376374 # Prevent subprocesses from also entering the REPL.
377375 del os .environ ["RULES_PYTHON_BOOTSTRAP_REPL" ]
378376
379- # Point libedit/readline at the correct terminfo databases.
380- # https://github.com/astral-sh/python-build-standalone/blob/f0abfc9cb1f6a985fc5561cf5435f7f6e8a64e5b/docs/quirks.rst#backspace-key-doesnt-work-in-python-repl
381- os .environ ["TERMINFO_DIRS" ] = "/etc/terminfo:/lib/terminfo:/usr/share/terminfo"
382-
383377 main_rel_path = None
384378 # todo: things happen to work because find_runfiles_root
385379 # ends up using stage2_bootstrap, and ends up computing the proper
You can’t perform that action at this time.
0 commit comments