Hi <br>thanks for the review, you will make a proper python coder of me yet.<br><br>I am happy to make the changes...<br>One problem with your suggestion though:<br><em><span class="note"><b class="label">Note:</b>
The <tt class="module">shlex</tt> module currently does not support Unicode input.<br><span style="font-style: italic;">(</span><a href="http://docs.python.org/dev/lib/module-shlex.html">http://docs.python.org/dev/lib/module-shlex.html
</a>)<br></span></em>so I don't know if I should use that, as I see that we get the strings as unicode.<br><br>In regards with the test case, I am also willing...<br>but I have not looked at it yet, maybe you could point me in the right direction
<br>as to where to add it and where to look for setting up configuration data <br>for the tests..<br><br><br>(the original bundle has a bug in it in any case so don't merge it. it still added an empty item in the list, which causes extra argunents to be ignored for some reason.)
<br><br><br><br><div><span class="gmail_quote">On 10/20/06, <b class="gmail_sendername">Aaron Bentley</b> <<a href="mailto:aaron.bentley@utoronto.ca">aaron.bentley@utoronto.ca</a>> wrote:</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I think the desire is reasonable, but the implementation can be<br>improved. Python comes with a shell-like parser already: shlex.split.<br>It preserves whitespace in quoted text. So it would be good to use that<br>instead.
<br><br>Please also include a test case to ensure that the behaviour you want<br>will not regress. I can help you write that up, if you're not familiar<br>with it.<br><br>Aaron</blockquote></div><br>-- <br>--<br><br>The source is strong in this one.