Title: gh-128636: Fix crash in PyREPL when `os.environ` is overwritten with an invalid value by tomasr8 · Pull Request #128653 · python/cpython · GitHub
Open Graph Title: gh-128636: Fix crash in PyREPL when `os.environ` is overwritten with an invalid value by tomasr8 · Pull Request #128653 · python/cpython
X Title: gh-128636: Fix crash in PyREPL when `os.environ` is overwritten with an invalid value by tomasr8 · Pull Request #128653 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: This fixes the crash by catching TypeError and ValueError in addition to KeyError. I'm not sure if this the best fix, but it's the least invasive one. Feedback welcome! Issue: Py313 REPL ...
X Description: This fixes the crash by catching TypeError and ValueError in addition to KeyError. I'm not sure if this the best fix, but it's the least invasive one. Feedback welcome! Issue: Py3...
Opengraph URL: https://github.com/python/cpython/pull/128653
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:aac32a66-607e-ae74-61c6-8c3f6d8bf83f |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A9FC:25C205:A1CDDA:DCEECB:6A5557D0 |
| html-safe-nonce | 680b6d0bf6041d57940081d2734a09fc40ad1f262d566e6c82319cebbc587e5f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUZDOjI1QzIwNTpBMUNEREE6RENFRUNCOjZBNTU1N0QwIiwidmlzaXRvcl9pZCI6IjUyMTQzNjkzODYxMDI4NzIwMTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e14f9546da5928833b969c36f23a462b3798f1e3af02bb8b65876b8051675489 |
| hovercard-subject-tag | pull_request:2267109312 |
| 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/128653/checks |
| twitter:image | https://opengraph.githubassets.com/0583d577e3713a577789722583cc022bb0d9e07347e33f5216744c9d97f11465/python/cpython/pull/128653 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0583d577e3713a577789722583cc022bb0d9e07347e33f5216744c9d97f11465/python/cpython/pull/128653 |
| og:image:alt | This fixes the crash by catching TypeError and ValueError in addition to KeyError. I'm not sure if this the best fix, but it's the least invasive one. Feedback welcome! Issue: Py313 REPL ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tomasr8 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-cache |
| 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 | 73595e82546ca2415571a2031890ab16ecb3001a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width