Title: Add callable validation to `codecs.register_error` by ever0de · Pull Request #6229 · RustPython/RustPython · GitHub
Open Graph Title: Add callable validation to `codecs.register_error` by ever0de · Pull Request #6229 · RustPython/RustPython
X Title: Add callable validation to `codecs.register_error` by ever0de · Pull Request #6229 · RustPython/RustPython
Description: Validate that the handler argument passed to codecs.register_error is callable, raising TypeError with message 'handler must be callable' if it is not. This fix enables test_badregistercall in test...
Open Graph Description: Validate that the handler argument passed to codecs.register_error is callable, raising TypeError with message 'handler must be callable' if it is not. This fix enables test_badregistercall...
X Description: Validate that the handler argument passed to codecs.register_error is callable, raising TypeError with message 'handler must be callable' if it is not. This fix enables test_badregi...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6229
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a9aee8e1-7604-6815-854b-407f68d5bd44 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E216:2D943D:129851B:1A0C5CC:696A336B |
| html-safe-nonce | 9c4f04e9f3bfdf3cf0cc3b8617f5b02c5abf8b30a85bcc2fe55cc4fb2a3e3119 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjE2OjJEOTQzRDoxMjk4NTFCOjFBMEM1Q0M6Njk2QTMzNkIiLCJ2aXNpdG9yX2lkIjoiMjMxNjMwOTQwMzkwMDk4MjEyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1a4b9eafed95d676eb5ed18ff743560f35c790d20958be013bd1b76b9405e3ba |
| hovercard-subject-tag | pull_request:2963043188 |
| 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/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/6229/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c39562fd6195350d11a8da8dbbb18c38cc21a9898f833a1130898ff7b6fb781f/RustPython/RustPython/pull/6229 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c39562fd6195350d11a8da8dbbb18c38cc21a9898f833a1130898ff7b6fb781f/RustPython/RustPython/pull/6229 |
| og:image:alt | Validate that the handler argument passed to codecs.register_error is callable, raising TypeError with message 'handler must be callable' if it is not. This fix enables test_badregistercall... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ever0de |
| hostname | github.com |
| expected-hostname | github.com |
| None | 321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7a9163cefd1ea4bd06f8eb7c082f43e4e53f626f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width