Title: doc: fix documented winmode argument default in ctypes CDLL classes. by carandraug · Pull Request #19167 · python/cpython · GitHub
Open Graph Title: doc: fix documented winmode argument default in ctypes CDLL classes. by carandraug · Pull Request #19167 · python/cpython
X Title: doc: fix documented winmode argument default in ctypes CDLL classes. by carandraug · Pull Request #19167 · python/cpython
Description: The default value for the winmode argument in the ctypes CDLL, OleDll, and WinDLL classes is None and not 0 as currently documented. These have different behaviours. None means ctypes default of LOAD_LIBRARY_SEARCH_DEFAULT_DIRS | LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR while 0 means no LOAD_LIBRARY_SEARCH_* flag which defaults to Windows LoadLibrary behaviour. I did read the contribution guidelines and started to describe an issue on the Python bug tracker but this seems to me like one of those trivial changes that are described as being exempt of that. Please let me know if I'm wrong.
Open Graph Description: The default value for the winmode argument in the ctypes CDLL, OleDll, and WinDLL classes is None and not 0 as currently documented. These have different behaviours. None means ctypes default of LO...
X Description: The default value for the winmode argument in the ctypes CDLL, OleDll, and WinDLL classes is None and not 0 as currently documented. These have different behaviours. None means ctypes default of LO...
Opengraph URL: https://github.com/python/cpython/pull/19167
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:cb83f289-effc-300a-db12-a8e1f198f15f |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9546:2706BA:3E8C3D:52C8C2:696B3D44 |
| html-safe-nonce | 13909b984e41f7205c193c7c647d91728126e6878226626e7a927197d62018fa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTQ2OjI3MDZCQTozRThDM0Q6NTJDOEMyOjY5NkIzRDQ0IiwidmlzaXRvcl9pZCI6IjE5NjQ5Mzc4NzE3MTcyNTI0MjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2e7618c35dc1e88012b38b30bd514ea8346af0da269cd11719747b76ae351872 |
| hovercard-subject-tag | pull_request:393804545 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/19167/checks |
| twitter:image | https://avatars.githubusercontent.com/u/916140?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/916140?s=400&v=4 |
| og:image:alt | The default value for the winmode argument in the ctypes CDLL, OleDll, and WinDLL classes is None and not 0 as currently documented. These have different behaviours. None means ctypes default of LO... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width