Title: Replace `std::sync::LazyLock` with `common::lock::LazyLock` by youknowone · Pull Request #7079 · RustPython/RustPython · GitHub
Open Graph Title: Replace `std::sync::LazyLock` with `common::lock::LazyLock` by youknowone · Pull Request #7079 · RustPython/RustPython
X Title: Replace `std::sync::LazyLock` with `common::lock::LazyLock` by youknowone · Pull Request #7079 · RustPython/RustPython
Description: lock.rs now exports both LazyCell and LazyLock: threading: re-exports from std::sync / core::cell non-threading: LazyCell from core::cell, LazyLock as LazyCell wrapper with Sync (safe without threading) Summary by CodeRabbit Refactor Updated internal lazy initialization mechanisms to use an optimized local implementation instead of standard library dependencies, improving code consistency across the project.
Open Graph Description: lock.rs now exports both LazyCell and LazyLock: threading: re-exports from std::sync / core::cell non-threading: LazyCell from core::cell, LazyLock as LazyCell wrapper with Sync (safe without thre...
X Description: lock.rs now exports both LazyCell and LazyLock: threading: re-exports from std::sync / core::cell non-threading: LazyCell from core::cell, LazyLock as LazyCell wrapper with Sync (safe without thre...
Opengraph URL: https://github.com/RustPython/RustPython/pull/7079
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:94bf9303-2ce6-6268-7d99-63caf530dace |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AD76:392B7D:1E55DF8:2878C65:6A5BBFA1 |
| html-safe-nonce | 907863af278237531d9a5c0fb9354a2d2bcd61e717ff1ff683ef349a0620d46c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDc2OjM5MkI3RDoxRTU1REY4OjI4NzhDNjU6NkE1QkJGQTEiLCJ2aXNpdG9yX2lkIjoiODAxNzcwNDUzNDU5MTM4OTYwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9eab93ed7cacb9d282f38325188f4ba84cf630a694aa77e70d130644a668ba83 |
| hovercard-subject-tag | pull_request:3269985851 |
| 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/7079/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 | lock.rs now exports both LazyCell and LazyLock: threading: re-exports from std::sync / core::cell non-threading: LazyCell from core::cell, LazyLock as LazyCell wrapper with Sync (safe without thre... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width