Title: Introduce PyConfig to implement Paths correctly by youknowone · Pull Request #6461 · RustPython/RustPython · GitHub
Open Graph Title: Introduce PyConfig to implement Paths correctly by youknowone · Pull Request #6461 · RustPython/RustPython
X Title: Introduce PyConfig to implement Paths correctly by youknowone · Pull Request #6461 · RustPython/RustPython
Description: Summary by CodeRabbit New Features Added a comprehensive runtime path configuration that detects virtualenvs and build layouts to derive executable, prefixes, and module search paths. Improvements sys.* attributes (executable, prefixes, path, flags, options, argv) now reflect a centralized runtime configuration for consistent behavior. VM initialization and runtime settings (optimize, UTF‑8, signal handling, safe path) read from the consolidated config; stdlib paths are prepended to module search paths. Other Minor dictionary update (spellings). ✏️ Tip: You can customize this high-level summary in your review settings.
Open Graph Description: Summary by CodeRabbit New Features Added a comprehensive runtime path configuration that detects virtualenvs and build layouts to derive executable, prefixes, and module search paths. Improve...
X Description: Summary by CodeRabbit New Features Added a comprehensive runtime path configuration that detects virtualenvs and build layouts to derive executable, prefixes, and module search paths. Improve...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6461
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:45bd2bbc-ceb9-2c7e-f4d2-06f6ba7993b3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C74C:87E17:1D0B78F:267F1F7:696AF99C |
| html-safe-nonce | 9ce874a9e546b04487075fe59322e003abca0c834f5bfc65a3bd1dc8fa5abab6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzRDOjg3RTE3OjFEMEI3OEY6MjY3RjFGNzo2OTZBRjk5QyIsInZpc2l0b3JfaWQiOiIyMjQyMzU4NjAxMTYzOTMwMDEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d1ffffbdb17f19100489696dcc4ea52653510ee4fedfb5285ddf3056457b334f |
| hovercard-subject-tag | pull_request:3119685164 |
| 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/6461/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 | Summary by CodeRabbit New Features Added a comprehensive runtime path configuration that detects virtualenvs and build layouts to derive executable, prefixes, and module search paths. Improve... |
| 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/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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width