Skip to content

Commit b0b83ab

Browse files
committed
Delete unnecessary code
1 parent f6dc039 commit b0b83ab

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

python/private/stage2_bootstrap_template.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)