Title: Add empty _imp._fix_co_filename by palaviv · Pull Request #1068 · RustPython/RustPython · GitHub
Open Graph Title: Add empty _imp._fix_co_filename by palaviv · Pull Request #1068 · RustPython/RustPython
X Title: Add empty _imp._fix_co_filename by palaviv · Pull Request #1068 · RustPython/RustPython
Description: This PR and #1067 are the last things needed for supporting .pyc files. You can now change sys.dont_write_bytecode to false. This improve the import time significantly. for example: import time start = time.time() import os print(time.time() - start) without __pycahce__: 0.272 [sec] with __pycache__: 0.114 [sec] *in release
Open Graph Description: This PR and #1067 are the last things needed for supporting .pyc files. You can now change sys.dont_write_bytecode to false. This improve the import time significantly. for example: import time st...
X Description: This PR and #1067 are the last things needed for supporting .pyc files. You can now change sys.dont_write_bytecode to false. This improve the import time significantly. for example: import time st...
Opengraph URL: https://github.com/RustPython/RustPython/pull/1068
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:521c9e11-b46c-335a-a38b-cfa4b85343a4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BCDC:12BE1:139A857:1C1CE53:6A5A21EF |
| html-safe-nonce | b7711885b816884aac1faf5b6c47ff73dad302490d13c9207eac4f6798d9ff37 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0RDOjEyQkUxOjEzOUE4NTc6MUMxQ0U1Mzo2QTVBMjFFRiIsInZpc2l0b3JfaWQiOiIyMzQ0Njk2NDUyMjY3NDYzNTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1256788fc552d171b424030e2123fe088cddd7195bba19451282322cdfcf4c29 |
| hovercard-subject-tag | pull_request:292730561 |
| 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/1068/files |
| twitter:image | https://avatars.githubusercontent.com/u/6990375?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/6990375?s=400&v=4 |
| og:image:alt | This PR and #1067 are the last things needed for supporting .pyc files. You can now change sys.dont_write_bytecode to false. This improve the import time significantly. for example: import time st... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e31742e80bbd077fd5679c13ed870ce4e0c13803a2fa5beaae557b6769de2c8a |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c9fcdbf98c619d1561ed843fa01d9766a32b5cd9 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width