Title: gh-91038: Change default argument value to `False` instead of `0` by Rotzbua · Pull Request #31621 · python/cpython · GitHub
Open Graph Title: gh-91038: Change default argument value to `False` instead of `0` by Rotzbua · Pull Request #31621 · python/cpython
X Title: gh-91038: Change default argument value to `False` instead of `0` by Rotzbua · Pull Request #31621 · python/cpython
Description: The argument is used as a switch and corresponds to a boolean logic. Therefore it is more intuitive to use the corresponding constant False as default value instead of the integer 0. https://bugs.python.org/issue46882 Issue: gh-91038
Open Graph Description: The argument is used as a switch and corresponds to a boolean logic. Therefore it is more intuitive to use the corresponding constant False as default value instead of the integer 0. https://bugs...
X Description: The argument is used as a switch and corresponds to a boolean logic. Therefore it is more intuitive to use the corresponding constant False as default value instead of the integer 0. https://bugs...
Opengraph URL: https://github.com/python/cpython/pull/31621
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:bc01a243-687b-90fe-8673-f1c8e1b7c675 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9FD2:F5EC:1E44C68:287F959:69958465 |
| html-safe-nonce | 9b59a73d9c66db4b95280f79971b882df40b4e711bc6f930b8487872fd90bf45 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkQyOkY1RUM6MUU0NEM2ODoyODdGOTU5OjY5OTU4NDY1IiwidmlzaXRvcl9pZCI6Ijg0NzkyODQ0NDEwMDkwNDAzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b7ae64d0095a9359dbbd99307fdff4cb9c71f35fda861e58fc61eec1262a532a |
| hovercard-subject-tag | pull_request:867072899 |
| 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/31621/commits/513d84d621eee9ca41f867004cf308fed6bea873 |
| twitter:image | https://avatars.githubusercontent.com/u/7337347?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7337347?s=400&v=4 |
| og:image:alt | The argument is used as a switch and corresponds to a boolean logic. Therefore it is more intuitive to use the corresponding constant False as default value instead of the integer 0. https://bugs... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4bd759bc5f83244e2a0de29b937365905c0fefd238b6f077c24a49830375b4df |
| 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 full-width |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cac7d4a5a6053f6655d0c3e8bfe5fd7a55c216fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width