Author mkleehammer
Recipients mkleehammer
Date 2019-08-09.00:02:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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 (

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:55mkleehammersetrecipients: + mkleehammer
2019-08-09 00:02:55mkleehammersetmessageid: <>
2019-08-09 00:02:55mkleehammerlinkissue37796 messages
2019-08-09 00:02:55mkleehammercreate