]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38002: Use False/True for IDLE pyshell bools (GH-19203)
authorTerry Jan Reedy <tjreedy@udel.edu>
Sat, 28 Mar 2020 16:51:21 +0000 (12:51 -0400)
committerGitHub <noreply@github.com>
Sat, 28 Mar 2020 16:51:21 +0000 (12:51 -0400)
commit34a49aa3e4d023b5f9e9029f4f1ec68f1a8a8120
tree3916b88c0d70fe3ce0cfa0d64a4cd16dd1a52263
parent34b0598295284e3ff6cedf5c05e159ce1fa54d60
bpo-38002: Use False/True for IDLE pyshell bools (GH-19203)

Change 0/1 assignments to 'executing', 'canceled', 'reading', 'endoffile'.
These are not used outside of pyshell. Other bools already use False/True.
Add comment about int needed for Windows call.
Remove self.more, unused in idlelib and code.InteractiveInterpreter.
The latter uses 'more' as a local.
Lib/idlelib/pyshell.py