]> granicus.if.org Git - python/commit
bpo-32905: IDLE - remove unused code in pyparse module (GH-5807)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 22 Feb 2018 06:41:41 +0000 (22:41 -0800)
committerGitHub <noreply@github.com>
Thu, 22 Feb 2018 06:41:41 +0000 (22:41 -0800)
commitdfa1144582e19e5fee2c07e6b7e281da1bef7782
tree17ea7a2f0356dd9a45b0ac58023baa077c647184
parentbc2e1104693fd471b96ecac5b2ab4cffa09830ab
bpo-32905: IDLE - remove unused code in pyparse module (GH-5807)

dump is similar to print but less flexible.  lastopenbracketpos is now always initialized in _study2, as was stmt_bracketing, so the class settings are not needed.  get_last_open_bracket_pos is never called.
(cherry picked from commit 451d1edaf4d27c4e632d81246d308e8dd6ea945f)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/idle_test/test_pyparse.py
Lib/idlelib/pyparse.py
Misc/NEWS.d/next/IDLE/2018-02-22-00-09-27.bpo-32905.VlXj0x.rst [new file with mode: 0644]