[issue7611] shlex not posix compliant when parsing "foo#bar"

Terry J. Reedy report at bugs.python.org
Wed Aug 4 05:06:43 CEST 2010


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Given that test_shlex.py tests for the current behavior, it is hard to call this a bug in the tracker sense of the term. I would only change with a new version. 

The manual just says "When operating in POSIX mode, shlex will try to be as close as possible to the POSIX shell parsing rules." but gives no reference to which authority it is following or what the rules are in either case. Manual section 23.2.2. Parsing Rules only discusses the differences between posix and non-posix rules, not the common rules.

I suspect this module was written well over a decade ago, maybe closer to two. Is it possible that earlier versions were different on this issue? Or is the 2008 version only cosmetically different some 1990s version?

----------
nosy: +tjreedy
stage: unit test needed -> patch review
type: behavior -> feature request
versions:  -Python 2.5, Python 2.6, Python 2.7, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7611>
_______________________________________


More information about the Python-bugs-list mailing list