pycycle icon indicating copy to clipboard operation
pycycle copied to clipboard

not detecting various imports and missing cycles

Open irmen opened this issue 8 years ago • 1 comments
trafficstars

Hi, it seems the tool doesn't process all the import syntax correctly. Not sure which ones it skips but I recommend checking into it:

import Package [as newname] from Package import sub [as newname] from .. import relativething [as newname] from Foo import *

I don't know if the cycle detection is buggy or that the tool misses some imports (or both), but it doesn't find any cycle at all in my Pyro4 project. But there sure are cycles! See https://github.com/irmen/Pyro4/issues/148 (the graphs are generated by my own cycle analisys tool + graphviz btw)

irmen avatar Feb 12 '17 16:02 irmen

Thanks for reporting! I'll take a look

bndr avatar Feb 12 '17 16:02 bndr