[issue32918] IDLE: make smart indent after comment line consistent

2018-02-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: So I am proposing _junkre = re.compile(r"(?:[ \t]*|##.*)\n").match with test change to match. -- assignee: -> terry.reedy components: +IDLE stage: patch review -> test needed ___ Python tracker

[issue32918] IDLE: make smart indent after comment line consistent

2018-02-22 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +5602 stage: test needed -> patch review ___ Python tracker ___

[issue32918] IDLE: make smart indent after comment line consistent

2018-02-22 Thread Terry J. Reedy
New submission from Terry J. Reedy : https://docs.python.org/3/reference/lexical_analysis.html#blank-lines says "A logical line that contains only spaces, tabs, formfeeds and possibly a comment, is ignored" but notes that REPLs might not ignore them during interactive input.