]> 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:18:12 +0000 (10:18 -0700)
committerGitHub <noreply@github.com>
Sat, 28 Mar 2020 17:18:12 +0000 (10:18 -0700)
commitcb758011ce39678fb03e8ac3e924d9084252e1ad
tree9e99331684cb947807be1bce65562c73a786d578
parentc3622b2dcc9278900a7e3cbef12edfa83a8728ed
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