Changes between Initial Version and Version 1 of Ticket #186, comment 2


Ignore:
Timestamp:
03/08/2012 10:21:18 AM (12 years ago)
Author:
davidsarah
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #186, comment 2

    initial v1  
    66                                  + state['traceback'][-1200:])
    77}}}
    8 I commented that out and got a traceback that was unmutilated ;-)
     8I ~~commented that out~~ changed that to:
     9{{{
     10        if len(state['traceback']) > 10000:
     11            state['traceback'] = (state['traceback'][:5000] +
     12                                  "\n\n-- TRACEBACK ELIDED --\n\n"
     13                                  + state['traceback'][-5000:])
     14}}}
     15on the remote foolscap, and changed the constraint to
     16{{{
     17('traceback', ByteStringConstraint(10100))
     18}}}
     19on both the remote and local, and got a traceback that was sufficiently unmutilated ;-)
    920
    1021I think 1900 bytes is '''way''' too short.