Title: bpo-35376: Fix modulefinder skipping some nested modules by rdb · Pull Request #10894 · python/cpython · GitHub
Open Graph Title: bpo-35376: Fix modulefinder skipping some nested modules by rdb · Pull Request #10894 · python/cpython
X Title: bpo-35376: Fix modulefinder skipping some nested modules by rdb · Pull Request #10894 · python/cpython
Description: 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
Open Graph Description: 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 badmodule...
X Description: 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 ...
Opengraph URL: https://github.com/python/cpython/pull/10894
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:46f006f1-261b-5a6d-2b1f-409a186253ed |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A1A8:1F122E:3426E3:46B32C:6A5CBEE0 |
| html-safe-nonce | d0e6d18de71dc3a4f5e6eae3a0e7b26b9441b5a3fbe7263c2274522e4fd13dbe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUE4OjFGMTIyRTozNDI2RTM6NDZCMzJDOjZBNUNCRUUwIiwidmlzaXRvcl9pZCI6IjgwNjMwMjg0MjI1MjMwMTA3ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2c8a34462d7b888d40910fe5bb79412014fb6772b25c337b78b06d933abd8bc0 |
| hovercard-subject-tag | pull_request:235850141 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/10894/files |
| twitter:image | https://avatars.githubusercontent.com/u/194842?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194842?s=400&v=4 |
| og:image:alt | 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 badmodule... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width