Title: _thread: initialize local subclasses per thread by kyokuping · Pull Request #8353 · RustPython/RustPython · GitHub
Open Graph Title: _thread: initialize local subclasses per thread by kyokuping · Pull Request #8353 · RustPython/RustPython
X Title: _thread: initialize local subclasses per thread by kyokuping · Pull Request #8353 · RustPython/RustPython
Description: Assisted-by: Codex:gpt-5.6 Closes #xxxx This PR follows our AI policy Summary reject initialization arguments for _thread._local when no custom __init__ is provided preserve positional and keyword arguments and rerun subclass __init__ when a thread first accesses the local object remove a newly created thread-local dictionary if initialization fails, allowing later access to retry cleanly add GC traversal and clearing for saved initialization arguments and per-thread dictionaries enable the corresponding ThreadLocalTest argument and cycle-collection tests
Open Graph Description: Assisted-by: Codex:gpt-5.6 Closes #xxxx This PR follows our AI policy Summary reject initialization arguments for _thread._local when no custom __init__ is provided preserve positional and ...
X Description: Assisted-by: Codex:gpt-5.6 Closes #xxxx This PR follows our AI policy Summary reject initialization arguments for _thread._local when no custom __init__ is provided preserve positional and ...
Opengraph URL: https://github.com/RustPython/RustPython/pull/8353
X: @github
Domain: Github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c99bca0f-022c-16f6-516c-58a97fc65333 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8F1C:30B703:CF2492:11DAA7F:6A6254C4 |
| html-safe-nonce | d0386c30fb2cbc2d3be1dbf0c1f5c2475b485f73366d20b4fe5f0fcb08b1affb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjFDOjMwQjcwMzpDRjI0OTI6MTFEQUE3Rjo2QTYyNTRDNCIsInZpc2l0b3JfaWQiOiI5MDI5MDU4NzIzMzkwNjQwMDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7d0759af09d638a53df2a8d802ff58e8ae995968c401f4c3abd4a5cff6431c6c |
| hovercard-subject-tag | pull_request:4115214295 |
| 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/8353/files |
| twitter:image | https://avatars.githubusercontent.com/u/109906379?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/109906379?s=400&v=4 |
| og:image:alt | Assisted-by: Codex:gpt-5.6 Closes #xxxx This PR follows our AI policy Summary reject initialization arguments for _thread._local when no custom __init__ is provided preserve positional and ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b928dd27bb9305f313c737471c216297e218430ec505d064cf33d7d74af9bf89 |
| 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 | 6f728c3f39985ee4d171ffdd5591d8d2652392d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width