Title: Incorrect usage of PyUnicode_CompareWithASCIIString in suggestions.c · Issue #106025 · python/cpython · GitHub
Open Graph Title: Incorrect usage of PyUnicode_CompareWithASCIIString in suggestions.c · Issue #106025 · python/cpython
X Title: Incorrect usage of PyUnicode_CompareWithASCIIString in suggestions.c · Issue #106025 · python/cpython
Description: It can only be used if the second argument is ASCII string. `item_str` is UTF-8 string. The behavior in such case is not defined. Originally posted by @serhiy-storchaka in #27197 (comment) Linked PRs gh-106026
Open Graph Description: It can only be used if the second argument is ASCII string. `item_str` is UTF-8 string. The behavior in such case is not defined. Originally posted by @serhiy-storchaka in #27197 (comment) Linked P...
X Description: It can only be used if the second argument is ASCII string. `item_str` is UTF-8 string. The behavior in such case is not defined. Originally posted by @serhiy-storchaka in #27197 (comment) Linked P...
Opengraph URL: https://github.com/python/cpython/issues/106025
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect usage of PyUnicode_CompareWithASCIIString in suggestions.c","articleBody":" It can only be used if the second argument is ASCII string. `item_str` is UTF-8 string. The behavior in such case is not defined.\r\n\r\n_Originally posted by @serhiy-storchaka in https://github.com/python/cpython/pull/27197#discussion_r1239830623_\r\n \n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-106026\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/pablogsal","@type":"Person","name":"pablogsal"},"datePublished":"2023-06-23T14:02:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/106025/cpython/issues/106025"}
| 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:52712e14-d2ab-53d8-cf4a-738b002f83ea |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B03A:2A0D62:20517FB:2C3BE3E:696AC59C |
| html-safe-nonce | 768ca67ec7c05ddbfbae5380238e2c485a4a039706d1d4304c1b4acd13a07218 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDNBOjJBMEQ2MjoyMDUxN0ZCOjJDM0JFM0U6Njk2QUM1OUMiLCJ2aXNpdG9yX2lkIjoiNjc0NTkxNDQxOTg2Nzk5MzUwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f578bf3cfd7c51275ec20c18d255c12294710436bff34236b2c4452f7225aabf |
| hovercard-subject-tag | issue:1771519413 |
| 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/106025/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d0727aa3fcec6aa130e4adbd02154431b8af20aa9f0d89a1da281e97978004ec/python/cpython/issues/106025 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d0727aa3fcec6aa130e4adbd02154431b8af20aa9f0d89a1da281e97978004ec/python/cpython/issues/106025 |
| og:image:alt | It can only be used if the second argument is ASCII string. `item_str` is UTF-8 string. The behavior in such case is not defined. Originally posted by @serhiy-storchaka in #27197 (comment) Linked P... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pablogsal |
| hostname | github.com |
| expected-hostname | github.com |
| None | 986b6a1d774985095564e64d6963d11f094da3d0e2bfda2ab1a27d63662eb033 |
| 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 | 89ad2112b9c4e11df6a0c13c8c1f8eedd36b0977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width