Title: Handle None entries in sys.modules. by anntzer · Pull Request #19601 · matplotlib/matplotlib · GitHub
Open Graph Title: Handle None entries in sys.modules. by anntzer · Pull Request #19601 · matplotlib/matplotlib
X Title: Handle None entries in sys.modules. by anntzer · Pull Request #19601 · matplotlib/matplotlib
Description: matplotlib: plotting with Python. Contribute to matplotlib/matplotlib development by creating an account on GitHub.
Open Graph Description: sys.modules entries can be explicitly set to None to block imports, so the name in sys.modules check should rather be written sys.modules.get(name) (... is not None). While we're at it, disenta...
X Description: sys.modules entries can be explicitly set to None to block imports, so the name in sys.modules check should rather be written sys.modules.get(name) (... is not None). While we're at it, dis...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/19601
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:1d6a3598-8e0e-06d4-dec0-9d823ea131d3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9780:21C8FC:51F61:7081A:6A5255ED |
| html-safe-nonce | d840f331a1e3241d6897351a9178e1e8d05b6c81dba72479cafe32ec6eab7e07 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzgwOjIxQzhGQzo1MUY2MTo3MDgxQTo2QTUyNTVFRCIsInZpc2l0b3JfaWQiOiI1MzcyNzU2OTA5NDE2OTI4NzQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a558cd76a997efac62a40cb00d95fabed3139a3d5fd07538153e6c636957a31c |
| hovercard-subject-tag | pull_request:581494873 |
| 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/_view_fragments/voltron/pull_requests/show/matplotlib/matplotlib/19601/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/178c925d57971f47401230f71b6e5c37970a9a4c272f4076d3407475a9bbd0fe/matplotlib/matplotlib/pull/19601 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/178c925d57971f47401230f71b6e5c37970a9a4c272f4076d3407475a9bbd0fe/matplotlib/matplotlib/pull/19601 |
| og:image:alt | sys.modules entries can be explicitly set to None to block imports, so the name in sys.modules check should rather be written sys.modules.get(name) (... is not None). While we're at it, disenta... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width