Title: gh-89745: Avoid exact match when comparing program_name in test_embed on Windows by neonene · Pull Request #93888 · python/cpython · GitHub
Open Graph Title: gh-89745: Avoid exact match when comparing program_name in test_embed on Windows by neonene · Pull Request #93888 · python/cpython
X Title: gh-89745: Avoid exact match when comparing program_name in test_embed on Windows by neonene · Pull Request #93888 · python/cpython
Description: Python version: 3.11, 3.12 When initializing on Windows, the program_name config field can have an extension ([_d].exe) to configure the executable. However, test_embed basically expects the name with no extension, which has caused inconsistent comparisons on the test machines. With this patch, test_embed allows partial matching for program_name on Windows, and the previous workaround only for release builds (#29930) can be removed. #89745
Open Graph Description: Python version: 3.11, 3.12 When initializing on Windows, the program_name config field can have an extension ([_d].exe) to configure the executable. However, test_embed basically expects the name w...
X Description: Python version: 3.11, 3.12 When initializing on Windows, the program_name config field can have an extension ([_d].exe) to configure the executable. However, test_embed basically expects the name w...
Opengraph URL: https://github.com/python/cpython/pull/93888
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:708ed7a6-4037-1d1c-b0b4-e90cac38005a |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8744:1E165C:13EC884:1AC5E10:69699D98 |
| html-safe-nonce | d75cdde01b29cf878b1754fc7b78bca89ee5a260fd630712fb77877364e00c79 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzQ0OjFFMTY1QzoxM0VDODg0OjFBQzVFMTA6Njk2OTlEOTgiLCJ2aXNpdG9yX2lkIjoiNzg1MjM3OTc4MDA4NDc2ODE1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 35c7942e31387284704b20d7f1bce456ec4dbd258d7e51d976062632873aed8b |
| hovercard-subject-tag | pull_request:968971933 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python/cpython/pull/93888/checks |
| twitter:image | https://avatars.githubusercontent.com/u/53406459?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/53406459?s=400&v=4 |
| og:image:alt | Python version: 3.11, 3.12 When initializing on Windows, the program_name config field can have an extension ([_d].exe) to configure the executable. However, test_embed basically expects the name w... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width