"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tools/sapp/sapp/trace_operator.py" between
pyre-check-0.0.53.tar.gz and pyre-check-0.0.54.tar.gz

About: Pyre is a performant type checker for Python (ships with Pysa, a security focused static analysis tool).

trace_operator.py  (pyre-check-0.0.53):trace_operator.py  (pyre-check-0.0.54)
skipping to change at line 248 skipping to change at line 248
TraceOperator.get_leaves_trace_frame( TraceOperator.get_leaves_trace_frame(
leaf_dicts, leaf_dicts,
session, session,
int(frame.id), int(frame.id),
TraceOperator.trace_kind_to_shared_text_kind(frame.kind) , TraceOperator.trace_kind_to_shared_text_kind(frame.kind) ,
) )
) )
): ):
filtered_results.append(frame) filtered_results.append(frame)
return filtered_results return [
TraceFrameQueryResult(
id=frame.id,
caller=frame.caller,
caller_port=frame.caller_port,
callee=frame.callee,
callee_port=frame.callee_port,
caller_id=frame.caller_id,
callee_location=frame.callee_location,
kind=frame.kind,
filename=frame.filename,
trace_length=frame.trace_length,
)
for frame in filtered_results
]
@staticmethod @staticmethod
def get_leaves_trace_frame( def get_leaves_trace_frame(
leaf_dicts: Tuple[Dict[int, str], Dict[int, str], Dict[int, str]], leaf_dicts: Tuple[Dict[int, str], Dict[int, str], Dict[int, str]],
session: Session, session: Session,
trace_frame_id: Union[int, DBID], trace_frame_id: Union[int, DBID],
kind: SharedTextKind, kind: SharedTextKind,
) -> Set[str]: ) -> Set[str]:
message_ids = [ message_ids = [
int(id) int(id)
 End of changes. 1 change blocks. 
1 lines changed or deleted 15 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)