Title: Implement __bool__ for diskcache.Cache to make it Truthy by radiumatic · Pull Request #1 · radiumatic/python-diskcache · GitHub
Open Graph Title: Implement __bool__ for diskcache.Cache to make it Truthy by radiumatic · Pull Request #1 · radiumatic/python-diskcache
X Title: Implement __bool__ for diskcache.Cache to make it Truthy by radiumatic · Pull Request #1 · radiumatic/python-diskcache
Description: Python first checks __bool__ and then __len__ to determine whether an object is Truthy. Given the fact that an empty cache returns 0 for the length, it breaks checks that rely on if cache instead o...
Open Graph Description: Python first checks __bool__ and then __len__ to determine whether an object is Truthy. Given the fact that an empty cache returns 0 for the length, it breaks checks that rely on if cache instead o...
X Description: Python first checks __bool__ and then __len__ to determine whether an object is Truthy. Given the fact that an empty cache returns 0 for the length, it breaks checks that rely on if cache instead o...
Opengraph URL: https://github.com/radiumatic/python-diskcache/pull/1
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:9a3d0bae-dded-cbbc-1d97-b7ffbe3ac78f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9F44:2AB87B:951386:CEDAC1:696A815A |
| html-safe-nonce | 4c3761109497240b4b9205b1b4c06a4401c1be9f6b151b468a858a51231641e4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjQ0OjJBQjg3Qjo5NTEzODY6Q0VEQUMxOjY5NkE4MTVBIiwidmlzaXRvcl9pZCI6IjE2NTgwOTQ2MzIwMTgwMTg2NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b5f47cf6d37442f30e151bc9be3b894c13294b5880be0723dc897687f6ab3356 |
| hovercard-subject-tag | pull_request:2711155823 |
| 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/radiumatic/python-diskcache/1/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/b0fdceeb7d3f91c72bd383161ea302550de4c8c04a33a4a883c4264f409c5e44/radiumatic/python-diskcache/pull/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b0fdceeb7d3f91c72bd383161ea302550de4c8c04a33a4a883c4264f409c5e44/radiumatic/python-diskcache/pull/1 |
| og:image:alt | Python first checks __bool__ and then __len__ to determine whether an object is Truthy. Given the fact that an empty cache returns 0 for the length, it breaks checks that rely on if cache instead o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | radiumatic |
| hostname | github.com |
| expected-hostname | github.com |
| None | 913560fa317c3c5a71e34f9b19253c9f09d02b4b958a86c2a56f4c8541116377 |
| turbo-cache-control | no-preview |
| go-import | github.com/radiumatic/python-diskcache git https://github.com/radiumatic/python-diskcache.git |
| octolytics-dimension-user_id | 71447191 |
| octolytics-dimension-user_login | radiumatic |
| octolytics-dimension-repository_id | 1029928115 |
| octolytics-dimension-repository_nwo | radiumatic/python-diskcache |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 51039722 |
| octolytics-dimension-repository_parent_nwo | grantjenks/python-diskcache |
| octolytics-dimension-repository_network_root_id | 51039722 |
| octolytics-dimension-repository_network_root_nwo | grantjenks/python-diskcache |
| 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 | 5998c30593994bf2589055aef7b22d368a499367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width