]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38002: Use False/True for IDLE pyshell bools (GH-19203)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 28 Mar 2020 17:16:03 +0000 (10:16 -0700)
committerGitHub <noreply@github.com>
Sat, 28 Mar 2020 17:16:03 +0000 (10:16 -0700)
commit8c3ab189ae552401581ecf0b260a96d80dcdae28
tree920f7d19c44cdd8ea11413ac51f825b812dfb8bf
parentbb852266b77ffeeb09a42847c907829eec6d5cb5
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.
(cherry picked from commit 34a49aa3e4d023b5f9e9029f4f1ec68f1a8a8120)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/pyshell.py