[issue3128] Regex causes python to hang up? / loop infinite?

2008-06-17 Thread André Fritzsche
André Fritzsche <[EMAIL PROTECTED]> added the comment: Thanks for the link, it was very interesting to read what can happen in some circumstances. I think, the first two chapters can match to the problem. So the type of this issue should be feature request ;-) Never the less I l

[issue3128] Regex causes python to hang up? / loop infinite?

2008-06-17 Thread André Fritzsche
André Fritzsche <[EMAIL PROTECTED]> added the comment: Further I was, because the upper listed string wasn't expected for this code (until it occured the first time ;-) ) Normally there has been only one occurence of "(file) (.., line)" or "(.., line) (file)" per

[issue3128] Regex causes python to hang up? / loop infinite?

2008-06-17 Thread André Fritzsche
André Fritzsche <[EMAIL PROTECTED]> added the comment: Thank you for this answer. It solves my problem, but I think that the issues ist still existing - or not? (The regex is running on - 3 hours now) ___ Python tracker <[EMAIL PROTECTE

[issue3128] Regex causes python to hang up? / loop infinite?

2008-06-17 Thread André Fritzsche
New submission from André Fritzsche <[EMAIL PROTECTED]>: After struggling around with my code for nearly 1 hour now, I found out that one of my regular expressions with a special string causes python to hang up - not really hang up, because the processor usage is at nearly 100%, so I thi

[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

2008-02-10 Thread André Fritzsche
André Fritzsche added the comment: Raghuram, you've been too fast ;-) Your test matches the problem. I don't know if it happens on Linux, but on my Win32 Installation the test 'test_destinsrc_2' fails with an AssertionError 'destinsrc() wrongly concluded that dst (@t

[issue2047] shutil.destinsrc returns wrong result when source path matches beginning of destination path

2008-02-07 Thread André Fritzsche
New submission from André Fritzsche: shutil.destinsrc(src,dst) Checks if 'dst' starts with 'src', which can return a wrong result if 'dst' even starts with 'scr' but isn't really a subdirector of it. E.g. (src=r'C:\data', dst=r'C:\da