Incorrect inferred module name for __init__.py files
Solumin opened this issue · 0 comments
Solumin commented
See google/pytype#154 for more detail.
resolve.infer_module_name
calculates the wrong name for __init__.py
files. For example, for foo/bar/__init__.py
, it will return foo.bar.__init__
. The module name should be foo.bar
.