[New-bugs-announce] [issue32536] ast and tokenize disagree about line number
report at bugs.python.org
Fri Jan 12 07:16:49 EST 2018
New submission from Mark Shannon <mark at hotpy.org>:
This occurs (on linux at least) when the the end of line sequence `\r\r\n` occurs in a comment that is indented relative to the following lines.
The attached file demonstrates the problem.
components: Library (Lib)
title: ast and tokenize disagree about line number
versions: Python 2.7
Added file: https://bugs.python.org/file47380/tokenize_fail_test.py
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce