Title: Python 3.9.14: grammar/clarity improvements for str.encode, str.decode error-checking documentation · Issue #99991 · python/cpython · GitHub
Open Graph Title: Python 3.9.14: grammar/clarity improvements for str.encode, str.decode error-checking documentation · Issue #99991 · python/cpython
X Title: Python 3.9.14: grammar/clarity improvements for str.encode, str.decode error-checking documentation · Issue #99991 · python/cpython
Description: Documentation The are a couple of paragraphs about error-checking behaviour for str.encode and str.decode that appears in a few versions of Python and could potentially be improved in future versions. As found in the Python 3.9.14 docume...
Open Graph Description: Documentation The are a couple of paragraphs about error-checking behaviour for str.encode and str.decode that appears in a few versions of Python and could potentially be improved in future versio...
X Description: Documentation The are a couple of paragraphs about error-checking behaviour for str.encode and str.decode that appears in a few versions of Python and could potentially be improved in future versio...
Opengraph URL: https://github.com/python/cpython/issues/99991
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python 3.9.14: grammar/clarity improvements for str.encode, str.decode error-checking documentation","articleBody":"# Documentation\r\nThe are a couple of paragraphs about error-checking behaviour for `str.encode` and `str.decode` that appears in a few versions of Python and could potentially be improved in future versions.\r\n\r\nAs found in the [Python 3.9.14 documentation for `std.encode`](https://docs.python.org/3.9/library/stdtypes.html#str.encode):\r\n\r\n\u003e By default, the _errors_ argument is not checked for best performances, but only used at the first encoding error. Enable the [Python Development Mode](https://docs.python.org/3.9/library/devmode.html#devmode), or use a debug build to check _errors_.\r\n\r\nThe paragraph before that is fairly dense - there could be an opportunity to improve both of them.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-100198\n* gh-100382\n* gh-100383\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/jayaddison","@type":"Person","name":"jayaddison"},"datePublished":"2022-12-04T14:05:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/99991/cpython/issues/99991"}
| 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:1a918be9-7e20-9b90-9e17-bb5ede9f103b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ADB8:1A6E62:3CD9A5:539D0B:6968DAE3 |
| html-safe-nonce | 5ba0c1a4094bf2dab97021cafda576e6d1aa5eb494c57a290fc2e6b6246f6fa2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREI4OjFBNkU2MjozQ0Q5QTU6NTM5RDBCOjY5NjhEQUUzIiwidmlzaXRvcl9pZCI6IjcxNDAzMTk1OTU5MTcyNjk3MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cbaac2f04ecc8095048fb2376eb9bb3633605d7848ba6a7eaaa2116709a01f8d |
| hovercard-subject-tag | issue:1474848708 |
| 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/99991/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5717aa7752cd72dc85671d5f32237c917662a25ba8484628516399a8022339d6/python/cpython/issues/99991 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5717aa7752cd72dc85671d5f32237c917662a25ba8484628516399a8022339d6/python/cpython/issues/99991 |
| og:image:alt | Documentation The are a couple of paragraphs about error-checking behaviour for str.encode and str.decode that appears in a few versions of Python and could potentially be improved in future versio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jayaddison |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3c4e9f2fc1db52c609205138be6a397cfde4574cb54d53015014de30dd49f27e |
| 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 | 1fb1ea11f8c37dd4dd50347cca70d89824e93788 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width