Skip to content

Commit 55f5f66

Browse files
authored
3.14
1 parent 27ae9ac commit 55f5f66

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

Lib/idlelib/News3.txt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1-
What's New in IDLE 3.13.0
2-
(since 3.12.0)
3-
Released on 2024-10-xx
1+
What's New in IDLE 3.14.0
2+
(since 3.13.0)
3+
Released on 2025-10-xx
44
=========================
55

66
gh-123369: IDLE now support for REPL-specific commands, like help, exit,
77
license and quit, without the need to call them as functions.
88

9+
What's New in IDLE 3.13.0
10+
(since 3.12.0)
11+
Released on 2024-10-07
12+
=========================
13+
14+
915
gh-120083: Add explicit black IDLE Hovertip foreground color needed for
1016
recent macOS. Fixes Sonoma showing unreadable white on pale yellow.
1117
Patch by John Riggles.

Lib/idlelib/pyshell.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -679,13 +679,11 @@ def execfile(self, filename, source=None):
679679

680680
def runsource(self, source):
681681
"Extend base class method: Stuff the source in the line cache first"
682-
from _pyrepl.main import CAN_USE_PYREPL
683682
filename = self.stuffsource(source)
684-
685683
# Synchronize the new interactive shell in Python 3.13
686684
# help, exit, license and quit without the need to call them as functions
687685
# To disable, set the PYTHON_BASIC_REPL environment variable
688-
if CAN_USE_PYREPL and not os.getenv('PYTHON_BASIC_REPL'):
686+
if not os.getenv('PYTHON_BASIC_REPL'):
689687
REPL_COMMANDS = {
690688
"quit": "quit()",
691689
"exit": "exit()",

0 commit comments

Comments
 (0)