This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jjdmol2
Recipients ferringb, jjdmol2
Date 2009-12-31.09:10:35
SpamBayes Score 0.00045706148
Marked as misclassified No
Message-id <1262250636.68.0.794284185992.issue7611@psf.upfronthosting.co.za>
In-reply-to
Content
Attached a program which shows the relevant behaviour:

import shlex

tests = [ "foo#bar", "foo #bar" ]

for t in tests:
  print "%s -> %s" % (t,[x for x in shlex.shlex(t,posix=True)])

results in

$ python lexer_test.py
foo#bar -> ['foo']
foo #bar -> ['foo']

(expected of course is ['foo#bar'] on the first line).
History
Date User Action Args
2009-12-31 09:10:36jjdmol2setrecipients: + jjdmol2, ferringb
2009-12-31 09:10:36jjdmol2setmessageid: <1262250636.68.0.794284185992.issue7611@psf.upfronthosting.co.za>
2009-12-31 09:10:35jjdmol2linkissue7611 messages
2009-12-31 09:10:35jjdmol2create