Martin v. Loewis wrote: > What's wrong with patch #419070, which fixes the bug? Like any other > immutable object, deepcopying a match object means returning it. what makes you think a match object is immutable? import array, sre a = array.array("c", "abcde") m = sre.search("bcd", a) print m.group(0) Cheers /F