[3.7] bpo-36958: In IDLE, print exit message (GH-13435) by miss-islington · Pull Request #13437 · python/cpython

Expand Up @@ -659,6 +659,8 @@ <h3>Running user code<a class="headerlink" href="#running-user-code" title="Perm <p>If <code class="docutils literal notranslate"><span class="pre">sys</span></code> is reset by user code, such as with <code class="docutils literal notranslate"><span class="pre">importlib.reload(sys)</span></code>, IDLE’s changes are lost and input from the keyboard and output to the screen will not work correctly.</p> <p>When user code raises SystemExit either directly or by calling sys.exit, IDLE returns to a Shell prompt instead of exiting.</p> </div> <div class="section" id="user-output-in-shell"> <h3>User output in Shell<a class="headerlink" href="#user-output-in-shell" title="Permalink to this headline">¶</a></h3> Expand Down Expand Up @@ -941,7 +943,7 @@ <h3>Navigation</h3> <br /> <br />
Last updated on May 16, 2019. Last updated on May 19, 2019. <a href="https://docs.python.org/3/bugs.html">Found a bug</a>? <br />
Expand Down