split hangs

Aahz Maruch aahz at panix.com
Wed Dec 27 20:05:58 EST 2000


In article <slrn94l1pu.4so.jp at localhost.localdomain>,
Jacek =?iso-8859-2?Q?Pop=B3awski?= <jp at ulgo.koti.com.pl> wrote:
>
>My program hangs when running that instruction:
>ourlist=ourregex.split(s)
>I can only kill it, or ctrl+z
>
>ourregex is of course result of re.compile()
>s is a long string
>it works good with other strings, why it hangs with that one?
>how can I fix it? how to find out what is bad?
>how it's possible that split() hangs?
>
>PS. python-1.5.2, Linux

What is the regex?
-- 
                      --- Aahz (Copyright 2000 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

Ninth Virtual Anniversary: 4 days and counting



More information about the Python-list mailing list