[issue1946] re.search hangs on this

2008-01-27 Thread Israel Tsadok
New submission from Israel Tsadok: import re re.search(r'a(b[^b]*b|[^c])*cxxx', 'abbcacacabbcabbcacabbcacac') perl seems to handle this just fine. (The original problem was trying to translate some html to text: re.sub(r'])*>(.*?

[issue6189] subprocess module not compatible with python 2.5

2009-06-03 Thread Israel Tsadok
New submission from Israel Tsadok : According to PEP 291, the subprocess module is supposed to be compatible with python 2.2 and up. rev 60097 introduced the use of os.closerange(), which is new in python 2.6. Either PEP-291 needs to be revised, rev 60097 be reverted, or some sort of