This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jftuga
Recipients gregory.p.smith, jftuga, levkivskyi, nnja, r.david.murray, terry.reedy, tim.peters
Date 2015-08-20.17:44:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440092675.71.0.48861340739.issue21253@psf.upfronthosting.co.za>
In-reply-to
Content
I am seeing something similar in difflib.HtmlDiff.make_file() under Python 3.4.3 (windows 7).  Do I need to file a separate bug report?


File "H:\test\test.py", line 522, in print_differ
    diff = html.make_file(file1_data,file2_data,"dir 1","dir 2",True)
  File "C:\Python34\lib\difflib.py", line 1713, in make_file
    context=context,numlines=numlines))
  File "C:\Python34\lib\difflib.py", line 1962, in make_table
    fromlist,tolist,flaglist = self._collect_lines(diffs)
  File "C:\Python34\lib\difflib.py", line 1830, in _collect_lines
    for fromdata,todata,flag in diffs:
  File "C:\Python34\lib\difflib.py", line 1806, in _line_wrapper
    self._split_line(fromlist,fromline,fromtext)
  File "C:\Python34\lib\difflib.py", line 1791, in _split_line
    self._split_line(data_list,'>',line2)
  
  (repeated many times)

  File "C:\Python34\lib\difflib.py", line 1791, in _split_line
    self._split_line(data_list,'>',line2)
  File "C:\Python34\lib\difflib.py", line 1755, in _split_line
    if (size <= max) or ((size -(text.count('\0')*3)) <= max):
RuntimeError: maximum recursion depth exceeded in comparison
History
Date User Action Args
2015-08-20 17:44:35jftugasetrecipients: + jftuga, tim.peters, terry.reedy, gregory.p.smith, r.david.murray, nnja, levkivskyi
2015-08-20 17:44:35jftugasetmessageid: <1440092675.71.0.48861340739.issue21253@psf.upfronthosting.co.za>
2015-08-20 17:44:35jftugalinkissue21253 messages
2015-08-20 17:44:35jftugacreate