Index: asdl_c.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Parser/Attic/asdl_c.py,v retrieving revision 1.1.2.4 diff -u -r1.1.2.4 asdl_c.py --- asdl_c.py 16 Jan 2005 17:09:11 -0000 1.1.2.4 +++ asdl_c.py 20 Mar 2005 19:51:03 -0000 @@ -44,10 +44,10 @@ padding = "" while len(cur) > size: i = cur.rfind(' ', 0, size) - # XXX this should be fixed for real - if i == -1 and 'GeneratorComp' in cur: - i = size + 3 - assert i != -1, "Impossible line %d to reflow: %s" % (size, `s`) + if i == -1: + i = cur.find(' ', size) + if i == -1: + i = len(s) lines.append(padding + cur[:i]) if len(lines) == 1: # find new size based on brace