Title: gh-91338: Ensure test_ucnhash_capi_reset doesn't pass PYTHONHOME to _testembed.exe by neonene · Pull Request #32313 · python/cpython · GitHub
Open Graph Title: gh-91338: Ensure test_ucnhash_capi_reset doesn't pass PYTHONHOME to _testembed.exe by neonene · Pull Request #32313 · python/cpython
X Title: gh-91338: Ensure test_ucnhash_capi_reset doesn't pass PYTHONHOME to _testembed.exe by neonene · Pull Request #32313 · python/cpython
Description: A minor tweak for Windows. _test_embed.exe fails to import *.pyd modules when the initialization is repeated with PYTHONHOME from python.bat.
>python.bat -m test test_embed -v
======================================================================
FAIL: test_ucnhash_capi_reset (test.test_embed.EmbeddingTests.test_ucnhash_capi_reset)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\cpython\Lib\test\test_embed.py", line 349, in test_ucnhash_capi_reset
out, err = self.run_embedded_interpreter("test_repeated_init_exec", code)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\cpython\Lib\test\test_embed.py", line 117, in run_embedded_interpreter
stdout:
9
stderr:
--- Loop #1 ---
--- Loop #2 ---
File "
Open Graph Description: A minor tweak for Windows. _test_embed.exe fails to import *.pyd modules when the initialization is repeated with PYTHONHOME from python.bat. >python.bat -m test test_embed -v =================...
X Description: A minor tweak for Windows. _test_embed.exe fails to import *.pyd modules when the initialization is repeated with PYTHONHOME from python.bat. >python.bat -m test test_embed -v =============...
Opengraph URL: https://github.com/python/cpython/pull/32313
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d7a6519b-89d3-ec56-4f5f-4c0238150021 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EDB0:3FF89A:284EDD:38DC57:696A0724 |
| html-safe-nonce | ea50f169dbca3caac35036f53c192dde60e2d22b625c2ee1bd158ec270344a9c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREIwOjNGRjg5QToyODRFREQ6MzhEQzU3OjY5NkEwNzI0IiwidmlzaXRvcl9pZCI6IjY2ODU0NzMyMTM0MjIxMTA1MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1971bd9cf047d4c23a1d3dca6750065871a5cf64bf54578b40222a575d494e8d |
| hovercard-subject-tag | pull_request:899392825 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/32313/files |
| 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 | A minor tweak for Windows. _test_embed.exe fails to import *.pyd modules when the initialization is repeated with PYTHONHOME from python.bat. >python.bat -m test test_embed -v =================... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 671c2f67171dbced24284331f3133a613d08c366 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width