PyCG
PyCG copied to clipboard
functions call stack with random order?
Hello,
very nice tool with plentry of potential IMHO!
I was just wondering whether the order of the function call could be preserved?
For instance for a function I would get the following:
"flow.runner.run":[
"<builtin>.len",
"<builtin>.print",
"flow.display.plot",
"pandas.read_csv",
"numpy.arange",
"pandas.DataFrame"
],
the order of the functions called in the array is not the same order as the original python file. Also if I run pycg several times in a row, I would get a different order each time.
Would it be possible to keep the actual call order? That would definitely be valuable to ensure the sequence of functions being called. Thanks for your insight.