Title: marshal tests are sloppy with error checking · Issue #104645 · python/cpython · GitHub
Open Graph Title: marshal tests are sloppy with error checking · Issue #104645 · python/cpython
X Title: marshal tests are sloppy with error checking · Issue #104645 · python/cpython
Description: pymarshal_write_long_to_file and pymarshal_write_object_to_file pretend that PyMarshal_WriteLongToFile/PyMarshal_WriteObjectToFile can set an error. pymarshal_read_last_object_from_file and pymarshal_read_object_from_file don't check for...
Open Graph Description: pymarshal_write_long_to_file and pymarshal_write_object_to_file pretend that PyMarshal_WriteLongToFile/PyMarshal_WriteObjectToFile can set an error. pymarshal_read_last_object_from_file and pymarsh...
X Description: pymarshal_write_long_to_file and pymarshal_write_object_to_file pretend that PyMarshal_WriteLongToFile/PyMarshal_WriteObjectToFile can set an error. pymarshal_read_last_object_from_file and pymarsh...
Opengraph URL: https://github.com/python/cpython/issues/104645
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"marshal tests are sloppy with error checking","articleBody":"pymarshal_write_long_to_file and pymarshal_write_object_to_file pretend that PyMarshal_WriteLongToFile/PyMarshal_WriteObjectToFile can set an error.\r\n\r\npymarshal_read_last_object_from_file and pymarshal_read_object_from_file don't check for errors so they can call Py_BuildValue with a NULL arg. \n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104646\n* gh-104663\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/iritkatriel","@type":"Person","name":"iritkatriel"},"datePublished":"2023-05-19T10:00:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/104645/cpython/issues/104645"}
| 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:f482a8f2-de68-64cb-5e39-2b4e68cc511b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E18:1478A3:40368A:5B0D68:696A0AC9 |
| html-safe-nonce | 09d6b31e7a735b2f734cda22b54c1ae03039203b5da2a3c08194b0b8eac3a034 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTE4OjE0NzhBMzo0MDM2OEE6NUIwRDY4OjY5NkEwQUM5IiwidmlzaXRvcl9pZCI6IjM5NDExNTIyNzcwODU2ODY0NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0b885221431a854e01afb2f5acd1610989d4c5784b6a973caf1b7ab697061c8b |
| hovercard-subject-tag | issue:1716976571 |
| 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/104645/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5a6f2bb381907971664867b2f538b8bbebd9341c99fe07ddb05cf39232f008fd/python/cpython/issues/104645 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5a6f2bb381907971664867b2f538b8bbebd9341c99fe07ddb05cf39232f008fd/python/cpython/issues/104645 |
| og:image:alt | pymarshal_write_long_to_file and pymarshal_write_object_to_file pretend that PyMarshal_WriteLongToFile/PyMarshal_WriteObjectToFile can set an error. pymarshal_read_last_object_from_file and pymarsh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iritkatriel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| 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 | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width