gh-128636: Fix crash in PyREPL when os.environ
is overwritten with an invalid value
#139298
Loading
os.environ
is overwritten with an invalid value
#139298