[issue5559] IDLE Output Window 's goto fails when path has spaces
Claudio Canepa
report at bugs.python.org
Sun May 3 09:14:16 CEST 2009
Claudio Canepa <ccanepacc at gmail.com> added the comment:
On Sat, May 2, 2009 at 11:31 PM, Kurt B. Kaiser <report at bugs.python.org>wrote:
>
> Kurt B. Kaiser <kbk at shore.net> added the comment:
>
> r72227.
>
> How's your test code coming? A relative Win filename with leading
> spaces should be found even when there's a file of same name but no
> spaces.
>
> ----------
> keywords: +26backport
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue5559>
> _______________________________________
>
Sorry for the delay, Kurt.
Test with rev 72227 , ok.
test cases:
(one space betwwen a and b , one before second tmp, one before first x)
Searching 'hello' in d:\tmp\*.tmp ...
d:\tmp\ xx.tmp: 1: hello # see woot.py:24 :24
d:\tmp\a b\ tmp\ xx.tmp: 1: hello # see woot.py:24 :24
d:\tmp\a b\ xx.tmp: 1: hello # see woot.py:24 :24
Found 3 hits.
( all three opens the correct file)
Same changing the target lines to stress the regex:
d:\tmp\ xx.tmp: 1: hello # see woot.py: 24:24
d:\tmp\a b\ tmp\ xx.tmp: 1: hello # see woot.py: 24:24
d:\tmp\a b\ xx.tmp: 1: hello # see woot.py: 24:24
Found 3 hits.
( all three opens the correct file)
Non absolute path:
xx.py: 1: hello # see woot.py: 24:24
xx.py: 1: hello # see woot.py: 24:24
Found 2 hits.
( both opens the correct file)
others; not listed: ok.
Thanks for taking care Kurt.
----------
Added file: http://bugs.python.org/file13848/unnamed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5559>
_______________________________________
-------------- next part --------------
<br><br>
<div class="gmail_quote">On Sat, May 2, 2009 at 11:31 PM, Kurt B. Kaiser <span dir="ltr"><<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im"><br>Kurt B. Kaiser <<a href="mailto:kbk at shore.net">kbk at shore.net</a>> added the comment:<br><br></div>r72227.<br><br>How's your test code coming? Â A relative Win filename with leading<br>spaces should be found even when there's a file of same name but no<br>
spaces.<br><br>----------</blockquote>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span id=""></span><br>keywords: +26backport<br>
<div>
<div></div>
<div class="h5"><br>_______________________________________<br>Python tracker <<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>><br><<a href="http://bugs.python.org/issue5559" target="_blank">http://bugs.python.org/issue5559</a>><br>
_______________________________________<br></div></div></blockquote></div>
<div><br>Â </div>
<div>Â </div>
<div>Sorry for the delay, Kurt.</div>
<div>Test with rev 72227 , ok.</div>
<div>Â </div>
<div>test cases:</div>
<div>(one space betwwen a and b , one before second tmp, one before first x)</div>
<div>Searching 'hello' in d:\tmp\*.tmp ...<br>d:\tmp\ xx.tmp: 1: hello # see woot.py:24 :24 <br>d:\tmp\a b\ tmp\ xx.tmp: 1: hello # see woot.py:24 :24 <br>d:\tmp\a b\ xx.tmp: 1: hello # see woot.py:24 :24 <br>Found 3 hits.<br>
( all three opens the correct file)</div>
<div>Â </div>
<div>Same changing the target lines to stress the regex:</div>
<div>d:\tmp\ xx.tmp: 1: hello # see woot.py: 24:24 <br>d:\tmp\a b\ tmp\ xx.tmp: 1: hello # see woot.py: 24:24 <br>d:\tmp\a b\ xx.tmp: 1: hello # see woot.py: 24:24 <br>Found 3 hits.<br>( all three opens the correct file)</div>
<div>Â </div>
<div>Non absolute path:</div>
<div>Â xx.py: 1: hello # see woot.py: 24:24 <br>xx.py: 1: hello # see woot.py: 24:24 <br>Found 2 hits.<br>( both opens the correct file)</div>
<div>Â </div>
<div>others; not listed: ok.</div>
<div>Â </div>
<div>Thanks for taking care Kurt.</div>
<div><span lang="ES-MODERN"></span>Â </div>
<div><span lang="ES-MODERN">--</span></div>
<div>ccanepa</div>
More information about the Python-bugs-list
mailing list