[Bro-Dev] #507: topic/jsiwek/pybroccoli-float-repr

Bro Tracker bro at tracker.bro-ids.org
Thu Jul 21 15:20:24 PDT 2011


#507: topic/jsiwek/pybroccoli-float-repr
----------------------------+------------------------
  Reporter:  jsiwek         |      Owner:
      Type:  Merge Request  |     Status:  new
  Priority:  Low            |  Milestone:  Bro1.6
 Component:  Bro            |    Version:  git/master
Resolution:                 |   Keywords:
----------------------------+------------------------

Comment (by robin):

 On Thu, Jul 21, 2011 at 20:39 -0000, you wrote:

 >  This branch is in `broccoli-python` and `bro` repos and should make the
 >  pybroccoli unit test work across more versions of python (Python 2.7's
 >  `repr()` for floats may display a shorter string).  Should also be less
 >  sensitive to the rounding of floats derived from current time, which
 >  sometimes ends up bypassing the regex in the timestamp diff canonifier.

 Haven't looked at the change yet, but there's a related other isssue:
 the fact that the ASCII logging currently outputs less than 6 digits
 after the comma for timestamps that end in zeros, can make the output
 hard to read because subsequent columns aren't aligned. We should
 change that so that it always print the same number of digits.

 Robin

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/507#comment:0>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list