Author ccanepa
Recipients ccanepa, gpolo, kbk
Date 2009-05-03.07:14:14
SpamBayes Score 5.35388e-06
Marked as misclassified No
Message-id <f5f20e3a0905022343t758c2f6dxc39db218701130a0@mail.gmail.com>
In-reply-to <1241317860.31.0.326522491779.issue5559@psf.upfronthosting.co.za>
Content
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.
Files
File name Uploaded
unnamed ccanepa, 2009-05-03.07:14:12
History
Date User Action Args
2009-05-03 07:14:16ccanepasetrecipients: + ccanepa, kbk, gpolo
2009-05-03 07:14:14ccanepalinkissue5559 messages
2009-05-03 07:14:14ccanepacreate