[issue19120] shlex.shlex.lineno reports a different number depending on the previous token

2016-12-27 Thread Christopher Hoadley
Changes by Christopher Hoadley : -- nosy: +hoadlck versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issue19120> ___ ___ Python-bugs-list mailin

[issue16121] shlex.shlex.error_leader() reports incorrect line number

2016-12-27 Thread Christopher Hoadley
Changes by Christopher Hoadley : -- nosy: +hoadlck versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issue16121> ___ ___ Python-bugs-list mailin

[issue24869] shlex lineno inaccurate with certain inputs

2016-12-27 Thread Christopher Hoadley
Changes by Christopher Hoadley : -- type: -> behavior versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issue24869> ___ ___ Python-bugs-list mai

[issue24869] shlex lineno inaccurate with certain inputs

2016-06-12 Thread Christopher Hoadley
Christopher Hoadley added the comment: This problem makes it impossible to use shlex to parse commands where a newline is intended to separate commands. In the attached sample script, I created two input strings with the same tokens in the same order: the only difference is newlines and