Title: Enum states Boundaries incorrectly (In docs and source code) · Issue #103115 · python/cpython · GitHub
Open Graph Title: Enum states Boundaries incorrectly (In docs and source code) · Issue #103115 · python/cpython
X Title: Enum states Boundaries incorrectly (In docs and source code) · Issue #103115 · python/cpython
Description: Regarding howto/enum. The documentation incorrectly states that The default for Flag is STRICT, the default for IntFlag is EJECT, and the default for _convert_ is KEEP (see ssl.Options for an example of when KEEP is needed).. This is not...
Open Graph Description: Regarding howto/enum. The documentation incorrectly states that The default for Flag is STRICT, the default for IntFlag is EJECT, and the default for _convert_ is KEEP (see ssl.Options for an examp...
X Description: Regarding howto/enum. The documentation incorrectly states that The default for Flag is STRICT, the default for IntFlag is EJECT, and the default for _convert_ is KEEP (see ssl.Options for an examp...
Opengraph URL: https://github.com/python/cpython/issues/103115
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enum states Boundaries incorrectly (In docs and source code)","articleBody":"Regarding [howto/enum](https://docs.python.org/3/howto/enum.html#combining-members-of-flag).\r\nThe documentation incorrectly states that `The default for Flag is STRICT, the default for IntFlag is EJECT, and the default for _convert_ is KEEP (see ssl.Options for an example of when KEEP is needed).`. This is not the case, as `Flag` uses `CONFORM` and `IntFlag` uses `KEEP`.\r\nThis was changed by commits #96865 and #93250 respectively. \r\nAdditionally to the Documentation, the docstring for `FlagBoundary` states this incorrectly as well.\r\n\r\n","author":{"url":"https://github.com/3SheepInATrenchcoat","@type":"Person","name":"3SheepInATrenchcoat"},"datePublished":"2023-03-29T16:16:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/103115/cpython/issues/103115"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ffe75ea8-3b9c-f551-aad3-d5319c2057ce |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD72:215A88:9F345F:DF6283:696A301E |
| html-safe-nonce | deb03b27c49830a4e752e5b9e1c16a6cba6ea699996c6437ee970e5283747e0c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDcyOjIxNUE4ODo5RjM0NUY6REY2MjgzOjY5NkEzMDFFIiwidmlzaXRvcl9pZCI6IjE4ODQ1MDUyNTg5NTU3ODAxMjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4cd2539c06bfdb963c084591590f131a20fc4676ba28998ec5e20fc01ead197a |
| hovercard-subject-tag | issue:1646130878 |
| github-keyboard-shortcuts | repository,issues,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/issues/show/python/cpython/103115/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4b89ba05c1320be462af282c6f9ef6df0d33c4d9c6a0bc6f1a5e06562f2e805f/python/cpython/issues/103115 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4b89ba05c1320be462af282c6f9ef6df0d33c4d9c6a0bc6f1a5e06562f2e805f/python/cpython/issues/103115 |
| og:image:alt | Regarding howto/enum. The documentation incorrectly states that The default for Flag is STRICT, the default for IntFlag is EJECT, and the default for _convert_ is KEEP (see ssl.Options for an examp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 3SheepInATrenchcoat |
| hostname | github.com |
| expected-hostname | github.com |
| None | ade130928b3890d20ecf9c887468a17e88d5c9a740ea2a85c2c2162e7c58e623 |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c00842167ca2e5b13e8171812965d503e925ece6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width