Title: bpo-35148: fix resetting codepage in activate.bat by moltob · Pull Request #10696 · python/cpython · GitHub
Open Graph Title: bpo-35148: fix resetting codepage in activate.bat by moltob · Pull Request #10696 · python/cpython
X Title: bpo-35148: fix resetting codepage in activate.bat by moltob · Pull Request #10696 · python/cpython
Description: The current version of the Windows activate.bat activation script unfortunately does not work well in some international versions of Windows. E.g. on a German Windows 10 version (or the bug reporter's Swiss version) the output of chcp is something like this: Aktive Codepage: 850. Unlike the US version, the statement ends with a period, unexpected by the activation script, leading to an unsuccessful attempt to reset the codepage after venv installation. While the venv is set up correctly, the codepage is not reset. In addition a user-visible error message appears, confusing users and giving the doubt whether venv actually worked: Parameterformat falsch - 850. (English: "wrong parameter format") The fix leaves the original approach in place, but deletes any periods from the CP number string, if they exist, which means it simply cleans up the CP string. This should have minimal side effects. https://bugs.python.org/issue35148
Open Graph Description: The current version of the Windows activate.bat activation script unfortunately does not work well in some international versions of Windows. E.g. on a German Windows 10 version (or the bug reporte...
X Description: The current version of the Windows activate.bat activation script unfortunately does not work well in some international versions of Windows. E.g. on a German Windows 10 version (or the bug reporte...
Opengraph URL: https://github.com/python/cpython/pull/10696
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c7bbf303-4962-e35b-8d4d-1bd75e1909df |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8FE6:1E0987:1CAF62:2675EE:6A59232A |
| html-safe-nonce | 067995578b04ec3d7c435ac25e4261402ade77099d0a22847fd5c60794c1d690 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkU2OjFFMDk4NzoxQ0FGNjI6MjY3NUVFOjZBNTkyMzJBIiwidmlzaXRvcl9pZCI6Ijc4MzgxMDk5MjczNTMxNjQ1ODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7fe7fb6a95eb70c1edc19ceafcbf0ae702f220689b62b245430706c7dc5a03bb |
| hovercard-subject-tag | pull_request:233370864 |
| 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/10696/files |
| twitter:image | https://avatars.githubusercontent.com/u/6240478?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/6240478?s=400&v=4 |
| og:image:alt | The current version of the Windows activate.bat activation script unfortunately does not work well in some international versions of Windows. E.g. on a German Windows 10 version (or the bug reporte... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 30abb2b48d3b1b476bbaf01f49ead8ef91062bfd762d3fa28a956f4c99653343 |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f2e5b4fd472ea10ac216e358bbd0821a90dae8bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width