[issue32905] IDLE pyparse: fix initialization and remove unused code

2018-02-21 Thread Terry J. Reedy

New submission from Terry J. Reedy :

Spinoff from #32880.
msg312394: dump duplicates print, except that sys.__stdout__ may be None.
msg312395: lastopenbracketpos is now always initialized in _study2, as was 
stmt_bracketing.  get_last_open_bracket_pos is never called.

Test are adjusted for removals.

--
stage: patch review -> test needed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32905] IDLE pyparse: fix initialization and remove unused code

2018-02-21 Thread Terry J. Reedy

Change by Terry J. Reedy :


--
keywords: +patch
pull_requests: +5584
stage: test needed -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32905] IDLE pyparse: fix initialization and remove unused code

2018-02-21 Thread Terry J. Reedy

Change by Terry J. Reedy :


--
assignee: terry.reedy
components: IDLE
nosy: terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: IDLE pyparse: fix initialization and remove unused code
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com