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 <rep...@bugs.python.org> <http://bugs.python.org/issue24869> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com