Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-35376: Fix modulefinder skipping some nested modules#10894

Closed
rdb wants to merge 1 commit into
python:masterpython/cpython:masterfrom
rdb:3.6rdb/cpython:3.6Copy head branch name to clipboard
Closed

bpo-35376: Fix modulefinder skipping some nested modules#10894
rdb wants to merge 1 commit into
python:masterpython/cpython:masterfrom
rdb:3.6rdb/cpython:3.6Copy head branch name to clipboard

Conversation

@rdb

@rdb rdb commented Dec 4, 2018

Copy link
Copy Markdown

If modulefinder finds a nested module import (eg. 'import a.b.c') while there is a top-level module with the same name (eg. 'c') that failed to import and got added to the badmodules list, it will skip it entirely without even trying to import it.

The right thing to do is clearly to check it by fqname in the badmodules dict since that's also what it expects in other locations.

Should I make additional PRs for other branches or is this OK as-is?

https://bugs.python.org/issue35376

https://bugs.python.org/issue35376

@rdb rdb changed the base branch from 3.6 to master December 4, 2018 15:33
@bedevere-bot

Copy link
Copy Markdown

PRs attempting to merge a maintenance branch into the master branch are deemed to be spam and automatically closed. If you were attempting to report a bug, please go to bugs.python.org; see devguide.python.org for further instruction as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.