Title: gh-98539: Make _SSLTransportProtocol.abort() safe to call when closed by Dreamsorcerer · Pull Request #104474 · python/cpython · GitHub
Open Graph Title: gh-98539: Make _SSLTransportProtocol.abort() safe to call when closed by Dreamsorcerer · Pull Request #104474 · python/cpython
X Title: gh-98539: Make _SSLTransportProtocol.abort() safe to call when closed by Dreamsorcerer · Pull Request #104474 · python/cpython
Description: Changes in #98540 made it unsafe to call .abort() (and other methods) after closing. This atleast makes it possible to call .abort() without worrying about this. I'm not sure if any of the others methods should be updated (e.g. with a raise RuntimeError("Transport is closed")). It might also be an idea to do the same change to _force_close(), but I wasn't sure if there was a risk or not of this method being called internally after close. Issue: gh-98539
Open Graph Description: Changes in #98540 made it unsafe to call .abort() (and other methods) after closing. This atleast makes it possible to call .abort() without worrying about this. I'm not sure if any of the othe...
X Description: Changes in #98540 made it unsafe to call .abort() (and other methods) after closing. This atleast makes it possible to call .abort() without worrying about this. I'm not sure if any of the ...
Opengraph URL: https://github.com/python/cpython/pull/104474
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9002a0b9-f879-45d7-dc62-6b307877f614 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E3A0:65407:6093F7:81AAF8:6969B510 |
| html-safe-nonce | 97fa0b55c39b8ee4ba64a8ebae7b22879ee2c6d07608020c6dd6f2761fc2b482 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0EwOjY1NDA3OjYwOTNGNzo4MUFBRjg6Njk2OUI1MTAiLCJ2aXNpdG9yX2lkIjoiNzA5OTk2MjkzOTczNDE0NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 34aa70fe5971487313224401dcd7e40e6c7a6e09041dbabd36536bcb2758e0fc |
| hovercard-subject-tag | pull_request:1349769574 |
| 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/104474/files |
| twitter:image | https://avatars.githubusercontent.com/u/2203121?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2203121?s=400&v=4 |
| og:image:alt | Changes in #98540 made it unsafe to call .abort() (and other methods) after closing. This atleast makes it possible to call .abort() without worrying about this. I'm not sure if any of the othe... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b23b8fcc855cd29bb04d6c94aafa62d336bf44eefa8229444eecc968cad03aee |
| 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 | 0672399d88424758731ec07fe24509e23bb17fb5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width