Title: gh-110514: Add PY_THROW to `sys.setprofile` events by gaogaotiantian · Pull Request #110524 · python/cpython · GitHub
Open Graph Title: gh-110514: Add PY_THROW to `sys.setprofile` events by gaogaotiantian · Pull Request #110524 · python/cpython
X Title: gh-110514: Add PY_THROW to `sys.setprofile` events by gaogaotiantian · Pull Request #110524 · python/cpython
Description: sys.setprofile suffers the same issue as #106161 - it does not record PY_THROW events. So when the generator is garbage collected, the count is wrong. For profile module, that means an assertion is raised. This needs backporting. Issue: gh-110514
Open Graph Description: sys.setprofile suffers the same issue as #106161 - it does not record PY_THROW events. So when the generator is garbage collected, the count is wrong. For profile module, that means an assertion is...
X Description: sys.setprofile suffers the same issue as #106161 - it does not record PY_THROW events. So when the generator is garbage collected, the count is wrong. For profile module, that means an assertion is...
Opengraph URL: https://github.com/python/cpython/pull/110524
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:19d8322c-6273-c053-2a64-905cbecc1202 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 955C:2BFBB8:2645B40:33E70D8:696ADE10 |
| html-safe-nonce | a6b95a4ffd1358cf4c453f08e35d9f592f41befcc5d5cd8e6b7da33d7bebac01 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTVDOjJCRkJCODoyNjQ1QjQwOjMzRTcwRDg6Njk2QURFMTAiLCJ2aXNpdG9yX2lkIjoiMTI3NjM3ODcwNDkxNjQzODU0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7d4411bbbc3238240bf253c6c061a43ee78abfe7da30f5380f7d1e9245f581ad |
| hovercard-subject-tag | pull_request:1546919187 |
| 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/110524/files |
| twitter:image | https://avatars.githubusercontent.com/u/13121107?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/13121107?s=400&v=4 |
| og:image:alt | sys.setprofile suffers the same issue as #106161 - it does not record PY_THROW events. So when the generator is garbage collected, the count is wrong. For profile module, that means an assertion is... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width