Message349268
The modulefinder module does not handle relative directories properly. The error I found is when one subpackage attempts to import from a sibling subpackage using the form
from ..language import (
DirectiveDefinitionNode,
...
)
In this example, it would report "language.DirectiveDefinitionNode" is missing.
It correctly resolves the names when importing modules, but when an import fails because it is a variable or function, it records the name incorrectly and cannot filter it out later.
I've attached a small test case and there is a README describing the test and results. |
|
Date |
User |
Action |
Args |
2019-08-09 00:02:55 | mkleehammer | set | recipients:
+ mkleehammer |
2019-08-09 00:02:55 | mkleehammer | set | messageid: <1565308975.62.0.708639838016.issue37796@roundup.psfhosted.org> |
2019-08-09 00:02:55 | mkleehammer | link | issue37796 messages |
2019-08-09 00:02:55 | mkleehammer | create | |
|