Title: bpo-35376: Fix modulefinder skipping some nested modules by rdb · Pull Request #10895 · python/cpython · GitHub
Open Graph Title: bpo-35376: Fix modulefinder skipping some nested modules by rdb · Pull Request #10895 · python/cpython
X Title: bpo-35376: Fix modulefinder skipping some nested modules by rdb · Pull Request #10895 · 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. I think this merits backporting, but I'll wait until further instructions before I file PRs against the maintenance branches. I assume this does not need a NEWS.d mention given the insignificance of this fix. 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/10895
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5576118a-11b7-b01f-74e1-064746603729 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CFDE:DC32E:6A618F:8CFC85:6A5B97BC |
| html-safe-nonce | c6419357631d41e8b060cbfe8ef09b007a55f4c9176fbe2237f572ac5277220c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkRFOkRDMzJFOjZBNjE4Rjo4Q0ZDODU6NkE1Qjk3QkMiLCJ2aXNpdG9yX2lkIjoiNjIwMzM2NjYxMzM4NTQ1MTQ1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 59fd13921058999c88f09edefb43400c3388bb79f019d942839fd9f3a5c62a00 |
| hovercard-subject-tag | pull_request:235854622 |
| 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/10895/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