[New-bugs-announce] [issue24869] shlex lineno inaccurate with certain inputs
Robert Escriva
report at bugs.python.org
Fri Aug 14 19:06:03 CEST 2015
New submission from Robert Escriva:
The newlines calculated by the shlex module are inaccurate for certain inputs with comments inline. I've attached a simple script that illustrates the problem.
My assumption here is that the lineno is supposed to match a line related to the current token. I'm trying to use changes in the lineno to aggregate tokens into commands. This may not be an intended use case.
----------
components: Library (Lib)
files: badlex.py
messages: 248596
nosy: rescrv
priority: normal
severity: normal
status: open
title: shlex lineno inaccurate with certain inputs
versions: Python 3.4
Added file: http://bugs.python.org/file40180/badlex.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24869>
_______________________________________
More information about the New-bugs-announce
mailing list