Title: Fix atexit unraisable exception message format by youknowone · Pull Request #7399 · RustPython/RustPython · GitHub
Open Graph Title: Fix atexit unraisable exception message format by youknowone · Pull Request #7399 · RustPython/RustPython
X Title: Fix atexit unraisable exception message format by youknowone · Pull Request #7399 · RustPython/RustPython
Description: Match PyErr_FormatUnraisable behavior: use "Exception ignored in atexit callback {func!r}" as err_msg and pass None as object instead of the callback function. Summary by CodeRabbit Behavior Changes Exit callbacks now run in last-registered, first-run order (LIFO), preserving expected unwind ordering. Bug Fixes Improved error reports when an exit callback raises, showing a more informative callback representation when possible. Added a safe fallback to a generic error message if rendering the callback for the report fails.
Open Graph Description: Match PyErr_FormatUnraisable behavior: use "Exception ignored in atexit callback {func!r}" as err_msg and pass None as object instead of the callback function. Summary by CodeRabbit Be...
X Description: Match PyErr_FormatUnraisable behavior: use "Exception ignored in atexit callback {func!r}" as err_msg and pass None as object instead of the callback function. Summary by CodeRab...
Opengraph URL: https://github.com/RustPython/RustPython/pull/7399
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b1b2806c-cb54-9ee0-5aba-ab7e1c5dc901 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B6D8:3C303F:10CAC:16C77:6A5FBC45 |
| html-safe-nonce | 6c50af690614c46178221365cbbb5d791acfa6f3f682ec3a84b250cc128b9a4f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkQ4OjNDMzAzRjoxMENBQzoxNkM3Nzo2QTVGQkM0NSIsInZpc2l0b3JfaWQiOiIzMTE4MTA5OTg3NjgxODQ0MjkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c2fccd5f0b34671c1524aa8b810459796df9ff0ce5ca40c49bcc86daa0a6f6f8 |
| hovercard-subject-tag | pull_request:3379222671 |
| 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/RustPython/RustPython/pull/7399/files |
| twitter:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| og:image:alt | Match PyErr_FormatUnraisable behavior: use "Exception ignored in atexit callback {func!r}" as err_msg and pass None as object instead of the callback function. Summary by CodeRabbit Be... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e0cfc367faf9c4c774d2a903897aa214c786247c4f45ffcee48cda2b819fb0c8 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | 94569c859bc88d6bf7de7e0ce3f2a11cd529a131 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width