[issue25240] Stack overflow in reprlib causes a core dump

2015-09-26 Thread Ceridwen
New submission from Ceridwen: I have a linked list implementation made of nested tuples with a custom repr: def __repr__(self): return 'LinkedList(' + ', '.join(repr(v) for v in self) + ')' (Iterating over a LinkedList returns just its contents.) When using Raymond Hettinger's

[issue23541] Re module's match() fails to halt on a particular input

2015-02-27 Thread Ceridwen
New submission from Ceridwen: Attached is a three-line script whose third line, a call to match() for a compiled regex, fails to halt on Python 2.7 and on 3.4 (after changing ur in front of the regex string to r to accommodate the change in Unicode handling). I found it by stepping through