Title: fix: guard AutoInterrupt terminate during interpreter shutdown by lweyrich1 · Pull Request #2105 · gitpython-developers/GitPython · GitHub
Open Graph Title: fix: guard AutoInterrupt terminate during interpreter shutdown by lweyrich1 · Pull Request #2105 · gitpython-developers/GitPython
X Title: fix: guard AutoInterrupt terminate during interpreter shutdown by lweyrich1 · Pull Request #2105 · gitpython-developers/GitPython
Description: Fixes #2102 On Windows during interpreter shutdown, process objects can be partially torn down and terminate() may raise AttributeError (e.g. missing TerminateProcess). This PR treats that similarly to the existing OSError handling in _AutoInterrupt._terminate() and adds a regression test covering the AttributeError case. Tests: pytest -q test/test_autointerrupt.py
Open Graph Description: Fixes #2102 On Windows during interpreter shutdown, process objects can be partially torn down and terminate() may raise AttributeError (e.g. missing TerminateProcess). This PR treats that similarl...
X Description: Fixes #2102 On Windows during interpreter shutdown, process objects can be partially torn down and terminate() may raise AttributeError (e.g. missing TerminateProcess). This PR treats that similarl...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/2105
X: @github
Domain: redirect.github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:abf0cff1-2274-38e1-3b7b-c734e98bbb11 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A482:24BC9A:39CA2C6:4F51EEE:6A54BC29 |
| html-safe-nonce | f3590f005f91164297d1e69e773a5526f8b013ac33294158a58ce6e5c4f7143b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDgyOjI0QkM5QTozOUNBMkM2OjRGNTFFRUU6NkE1NEJDMjkiLCJ2aXNpdG9yX2lkIjoiNTIxMzUzNDI4OTg0MTY2NzExMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0f7e7baa0746d2e8101abe79577d1e9052698ec19e746aafaebcc1514176aa26 |
| hovercard-subject-tag | pull_request:3326115173 |
| 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/gitpython-developers/GitPython/pull/2105/files |
| twitter:image | https://avatars.githubusercontent.com/u/263214205?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/263214205?s=400&v=4 |
| og:image:alt | Fixes #2102 On Windows during interpreter shutdown, process objects can be partially torn down and terminate() may raise AttributeError (e.g. missing TerminateProcess). This PR treats that similarl... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| 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 | 69f9664dd5e7a82ba8ab1b4cb7f5a2f09333ab38 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width