Vincent summary2 rebased

rebased version of PR #915

with py 2.6 compatibility and
smoke test