Title: Miscellaneous fixes in Python/suggestions.c · Issue #106030 · python/cpython · GitHub
Open Graph Title: Miscellaneous fixes in Python/suggestions.c · Issue #106030 · python/cpython
X Title: Miscellaneous fixes in Python/suggestions.c · Issue #106030 · python/cpython
Description: PyDict_GetItem() and PyObject_HasAttr() suppress arbitrary errors and should not be used. PyUnicode_CompareWithASCIIString() only works if the second argument is ASCII string. Refleak in get_suggestions_for_name_error. Use of borrowed po...
Open Graph Description: PyDict_GetItem() and PyObject_HasAttr() suppress arbitrary errors and should not be used. PyUnicode_CompareWithASCIIString() only works if the second argument is ASCII string. Refleak in get_sugges...
X Description: PyDict_GetItem() and PyObject_HasAttr() suppress arbitrary errors and should not be used. PyUnicode_CompareWithASCIIString() only works if the second argument is ASCII string. Refleak in get_sugges...
Opengraph URL: https://github.com/python/cpython/issues/106030
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Miscellaneous fixes in Python/suggestions.c","articleBody":"* PyDict_GetItem() and PyObject_HasAttr() suppress arbitrary errors and\r\n should not be used.\r\n* PyUnicode_CompareWithASCIIString() only works if the second argument\r\n is ASCII string.\r\n* Refleak in get_suggestions_for_name_error.\r\n* Use of borrowed pointer after possible freeing (self).\r\n* Add some missing error checks.\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-106031\n* gh-106036\n* gh-106039\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/serhiy-storchaka","@type":"Person","name":"serhiy-storchaka"},"datePublished":"2023-06-23T14:57:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/106030/cpython/issues/106030"}
| 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:9bad81fb-7949-0102-2da5-e06bcecc9ade |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE8C:30F550:2CDB1:3CB70:696A0BC5 |
| html-safe-nonce | 4f41d82a81dc2343bc23c379f25ea99a024447c413f09740f841b5f83e2d424e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERThDOjMwRjU1MDoyQ0RCMTozQ0I3MDo2OTZBMEJDNSIsInZpc2l0b3JfaWQiOiI1OTkwMjQ4NzEyNjQ0NDYzNTU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a4d629ae23aff5854730cd7c90c7a97eafa5f63571674886e991fd10def3fe76 |
| hovercard-subject-tag | issue:1771605726 |
| 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/106030/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2367eb2cd16e5741fb17e8cac4fae2c4033c6ff67ef2155a081ecda2c1e831b0/python/cpython/issues/106030 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2367eb2cd16e5741fb17e8cac4fae2c4033c6ff67ef2155a081ecda2c1e831b0/python/cpython/issues/106030 |
| og:image:alt | PyDict_GetItem() and PyObject_HasAttr() suppress arbitrary errors and should not be used. PyUnicode_CompareWithASCIIString() only works if the second argument is ASCII string. Refleak in get_sugges... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | serhiy-storchaka |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width