Title: fix sys path by youknowone · Pull Request #6537 · RustPython/RustPython · GitHub
Open Graph Title: fix sys path by youknowone · Pull Request #6537 · RustPython/RustPython
X Title: fix sys path by youknowone · Pull Request #6537 · RustPython/RustPython
Description: Summary by CodeRabbit Bug Fixes Improved environment variable path processing by filtering empty values to prevent empty strings from propagating through path lists. Refactor Adjusted initialization sequence to import site modules before configuring sys.path[0], aligning with standard Python behavior. Path handling now includes run-mode-specific configurations. ✏️ Tip: You can customize this high-level summary in your review settings.
Open Graph Description: Summary by CodeRabbit Bug Fixes Improved environment variable path processing by filtering empty values to prevent empty strings from propagating through path lists. Refactor Adjusted initia...
X Description: Summary by CodeRabbit Bug Fixes Improved environment variable path processing by filtering empty values to prevent empty strings from propagating through path lists. Refactor Adjusted initia...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6537
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d3233c1d-75ed-ad29-963f-162326c4cc0c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E970:34D83D:42AE9:52E8D:696B2FFF |
| html-safe-nonce | 3f75ec24eba551c252d6ccd1c5a6f28ac9ad0d37b241489c79e34ad1691bcfee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTcwOjM0RDgzRDo0MkFFOTo1MkU4RDo2OTZCMkZGRiIsInZpc2l0b3JfaWQiOiI0Nzc5ODgzNjQzOTUxMzI5Mjc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fb35eb954f5254eb920ebed504a49d76757041b6da48339323d206f8db9265af |
| hovercard-subject-tag | pull_request:3130661931 |
| 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/6537/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 Bug Fixes Improved environment variable path processing by filtering empty values to prevent empty strings from propagating through path lists. Refactor Adjusted initia... |
| 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