Message87035
On Sat, May 2, 2009 at 11:31 PM, Kurt B. Kaiser <report@bugs.python.org>wrote:
>
> Kurt B. Kaiser <kbk@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@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. |
File name |
Uploaded |
unnamed
|
ccanepa,
2009-05-03.07:14:12
|
|
Date |
User |
Action |
Args |
2009-05-03 07:14:16 | ccanepa | set | recipients:
+ ccanepa, kbk, gpolo |
2009-05-03 07:14:14 | ccanepa | link | issue5559 messages |
2009-05-03 07:14:14 | ccanepa | create | |
|