| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:989b1145-1c57-7cd3-dbc7-7d291d28e298 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B980:B413C:1B38298:2725DBB:6A58DB34 |
| html-safe-nonce | 4375acf2e904c249fe799db6bf5f3fc13b27ded274324d393c33dd86b3006a87 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTgwOkI0MTNDOjFCMzgyOTg6MjcyNURCQjo2QTU4REIzNCIsInZpc2l0b3JfaWQiOiIxNjIyMzc0NTE4NjA5MjA2MDY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e6e1a5ce5aed36e2fd5b925da1bc0d98c9f4a3f42971ebf33404338002981c22 |
| hovercard-subject-tag | pull_request:299571528 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/1159/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 | As discussed in #1142.
Adding the current Lib folder increase the executable by 5MB. I would like to add this to the demo so it will support python stdlib.
I wanted to allow specifying the location... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/RustPython/RustPython/pull/1159/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F1159%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F1159%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=RustPython%2FRustPython |
| Reload | https://github.com/RustPython/RustPython/pull/1159/files |
| Reload | https://github.com/RustPython/RustPython/pull/1159/files |
| Reload | https://github.com/RustPython/RustPython/pull/1159/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/1159/files |
|
RustPython
| https://github.com/RustPython |
| RustPython | https://github.com/RustPython/RustPython |
|
Notifications
| https://github.com/login?return_to=%2FRustPython%2FRustPython |
|
Fork
1.5k
| https://github.com/login?return_to=%2FRustPython%2FRustPython |
|
Star
22.2k
| https://github.com/login?return_to=%2FRustPython%2FRustPython |
|
Code
| https://github.com/RustPython/RustPython |
|
Issues
287
| https://github.com/RustPython/RustPython/issues |
|
Pull requests
102
| https://github.com/RustPython/RustPython/pulls |
|
Discussions
| https://github.com/RustPython/RustPython/discussions |
|
Actions
| https://github.com/RustPython/RustPython/actions |
|
Projects
| https://github.com/RustPython/RustPython/projects |
|
Models
| https://github.com/RustPython/RustPython/models |
|
Wiki
| https://github.com/RustPython/RustPython/wiki |
|
Security and quality
0
| https://github.com/RustPython/RustPython/security |
|
Insights
| https://github.com/RustPython/RustPython/pulse |
|
Code
| https://github.com/RustPython/RustPython |
|
Issues
| https://github.com/RustPython/RustPython/issues |
|
Pull requests
| https://github.com/RustPython/RustPython/pulls |
|
Discussions
| https://github.com/RustPython/RustPython/discussions |
|
Actions
| https://github.com/RustPython/RustPython/actions |
|
Projects
| https://github.com/RustPython/RustPython/projects |
|
Models
| https://github.com/RustPython/RustPython/models |
|
Wiki
| https://github.com/RustPython/RustPython/wiki |
|
Security and quality
| https://github.com/RustPython/RustPython/security |
|
Insights
| https://github.com/RustPython/RustPython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| palaviv | https://github.com/palaviv |
| RustPython:master | https://github.com/RustPython/RustPython/tree/master |
| palaviv:freeze-stdlib | https://github.com/palaviv/RustPython/tree/freeze-stdlib |
|
Conversation
13
| https://github.com/RustPython/RustPython/pull/1159 |
|
Commits
7
| https://github.com/RustPython/RustPython/pull/1159/commits |
|
Checks
0
| https://github.com/RustPython/RustPython/pull/1159/checks |
|
Files changed
| https://github.com/RustPython/RustPython/pull/1159/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/1159/files |
|
Allow stdlib freeze
| https://github.com/RustPython/RustPython/pull/1159/files#top |
|
Show all changes
7 commits
| https://github.com/RustPython/RustPython/pull/1159/files |
|
befe180
Add freeze-stdlib compile flag
palaviv Jul 20, 2019
| https://github.com/RustPython/RustPython/pull/1159/commits/befe1803dba0cfff17ec372027fe500d686fd410 |
|
f271a0e
Change py_compile_bytecode to return map
palaviv Jul 20, 2019
| https://github.com/RustPython/RustPython/pull/1159/commits/f271a0e5cf6256fe4b2455752349479dae325acb |
|
5c240d7
Support freezing of stdlib
palaviv Jul 20, 2019
| https://github.com/RustPython/RustPython/pull/1159/commits/5c240d71a885ae6848a0026997be6d8f276e6ac3 |
|
c480449
Fix clippy comments
palaviv Jul 20, 2019
| https://github.com/RustPython/RustPython/pull/1159/commits/c48044942069b643bca921c15cfd07ca5e9f029b |
|
7226c92
Add hashmap macro to __exports
palaviv Jul 20, 2019
| https://github.com/RustPython/RustPython/pull/1159/commits/7226c925d2801efb1b310eb5683c8179f4b005c0 |
|
64f1024
Fix clippy warning
palaviv Jul 22, 2019
| https://github.com/RustPython/RustPython/pull/1159/commits/64f102450be3f87270092c13f171bf75df41b58a |
|
0a62535
Change compile_dir path to &Path
palaviv Jul 22, 2019
| https://github.com/RustPython/RustPython/pull/1159/commits/0a6253593f73cadd709890c02cd0c54c952e456a |
|
Clear filters
| https://github.com/RustPython/RustPython/pull/1159/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/1159/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/1159/files |
|
Cargo.lock
| https://github.com/RustPython/RustPython/pull/1159/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e |
|
Cargo.toml
| https://github.com/RustPython/RustPython/pull/1159/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542 |
|
Cargo.toml
| https://github.com/RustPython/RustPython/pull/1159/files#diff-7b4d4bcf9b086932a6b777273166b786000ae1669cf87cfab63337600746e57f |
|
compile_bytecode.rs
| https://github.com/RustPython/RustPython/pull/1159/files#diff-7040b76902a9a681ea20a692f677e8f8eefe7e046d6f3a49a14be69d40901d08 |
|
lib.rs
| https://github.com/RustPython/RustPython/pull/1159/files#diff-60da9bde79deaa50c0ce6f42d1f47205ba31f448dc2713cc746339343581b699 |
|
Cargo.toml
| https://github.com/RustPython/RustPython/pull/1159/files#diff-98def556b29f953c96db531b74917518dd012025da819292b7d0a956710c2d2d |
|
frozen.rs
| https://github.com/RustPython/RustPython/pull/1159/files#diff-2a1e4702ded8c2ecea91c7222e32b8954371451d624661c78cf43cb65f60aee6 |
|
lib.rs
| https://github.com/RustPython/RustPython/pull/1159/files#diff-76838f6ab6fdbcf4f9cc064b8ca4707ab930c026067eb62ae888def5752a06ba |
|
browser_module.rs
| https://github.com/RustPython/RustPython/pull/1159/files#diff-c8d9b34d7525fec271bfdb24a62509510961023857b1f0197863faa60049b37d |
| Cargo.lock | https://github.com/RustPython/RustPython/pull/1159/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e |
|
View file
| https://github.com/palaviv/RustPython/blob/0a6253593f73cadd709890c02cd0c54c952e456a/Cargo.lock |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/RustPython/RustPython/pull/1159/files |
| Cargo.toml | https://github.com/RustPython/RustPython/pull/1159/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542 |
|
View file
| https://github.com/palaviv/RustPython/blob/0a6253593f73cadd709890c02cd0c54c952e456a/Cargo.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/1159/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542 |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542 |
| derive/Cargo.toml | https://github.com/RustPython/RustPython/pull/1159/files#diff-7b4d4bcf9b086932a6b777273166b786000ae1669cf87cfab63337600746e57f |
|
View file
| https://github.com/palaviv/RustPython/blob/0a6253593f73cadd709890c02cd0c54c952e456a/derive/Cargo.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/1159/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-7b4d4bcf9b086932a6b777273166b786000ae1669cf87cfab63337600746e57f |
| derive/src/compile_bytecode.rs | https://github.com/RustPython/RustPython/pull/1159/files#diff-7040b76902a9a681ea20a692f677e8f8eefe7e046d6f3a49a14be69d40901d08 |
|
View file
| https://github.com/palaviv/RustPython/blob/0a6253593f73cadd709890c02cd0c54c952e456a/derive/src/compile_bytecode.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/1159/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-7040b76902a9a681ea20a692f677e8f8eefe7e046d6f3a49a14be69d40901d08 |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-7040b76902a9a681ea20a692f677e8f8eefe7e046d6f3a49a14be69d40901d08 |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-7040b76902a9a681ea20a692f677e8f8eefe7e046d6f3a49a14be69d40901d08 |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-7040b76902a9a681ea20a692f677e8f8eefe7e046d6f3a49a14be69d40901d08 |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-7040b76902a9a681ea20a692f677e8f8eefe7e046d6f3a49a14be69d40901d08 |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-7040b76902a9a681ea20a692f677e8f8eefe7e046d6f3a49a14be69d40901d08 |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-7040b76902a9a681ea20a692f677e8f8eefe7e046d6f3a49a14be69d40901d08 |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-7040b76902a9a681ea20a692f677e8f8eefe7e046d6f3a49a14be69d40901d08 |
| coolreader18 | https://github.com/coolreader18 |
| Jul 20, 2019 | https://github.com/RustPython/RustPython/pull/1159/files#r305588639 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/RustPython/RustPython/pull/1159/files |
| palaviv | https://github.com/palaviv |
| Jul 20, 2019 | https://github.com/RustPython/RustPython/pull/1159/files#r305589947 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/RustPython/RustPython/pull/1159/files |
| palaviv | https://github.com/palaviv |
| Jul 20, 2019 | https://github.com/RustPython/RustPython/pull/1159/files#r305590412 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/RustPython/RustPython/pull/1159/files |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-7040b76902a9a681ea20a692f677e8f8eefe7e046d6f3a49a14be69d40901d08 |
| derive/src/lib.rs | https://github.com/RustPython/RustPython/pull/1159/files#diff-60da9bde79deaa50c0ce6f42d1f47205ba31f448dc2713cc746339343581b699 |
|
View file
| https://github.com/palaviv/RustPython/blob/0a6253593f73cadd709890c02cd0c54c952e456a/derive/src/lib.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/1159/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-60da9bde79deaa50c0ce6f42d1f47205ba31f448dc2713cc746339343581b699 |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-60da9bde79deaa50c0ce6f42d1f47205ba31f448dc2713cc746339343581b699 |
| vm/Cargo.toml | https://github.com/RustPython/RustPython/pull/1159/files#diff-98def556b29f953c96db531b74917518dd012025da819292b7d0a956710c2d2d |
|
View file
| https://github.com/palaviv/RustPython/blob/0a6253593f73cadd709890c02cd0c54c952e456a/vm/Cargo.toml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/1159/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-98def556b29f953c96db531b74917518dd012025da819292b7d0a956710c2d2d |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-98def556b29f953c96db531b74917518dd012025da819292b7d0a956710c2d2d |
| vm/src/frozen.rs | https://github.com/RustPython/RustPython/pull/1159/files#diff-2a1e4702ded8c2ecea91c7222e32b8954371451d624661c78cf43cb65f60aee6 |
|
View file
| https://github.com/palaviv/RustPython/blob/0a6253593f73cadd709890c02cd0c54c952e456a/vm/src/frozen.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/1159/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-2a1e4702ded8c2ecea91c7222e32b8954371451d624661c78cf43cb65f60aee6 |
| vm/src/lib.rs | https://github.com/RustPython/RustPython/pull/1159/files#diff-76838f6ab6fdbcf4f9cc064b8ca4707ab930c026067eb62ae888def5752a06ba |
|
View file
| https://github.com/palaviv/RustPython/blob/0a6253593f73cadd709890c02cd0c54c952e456a/vm/src/lib.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/1159/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-76838f6ab6fdbcf4f9cc064b8ca4707ab930c026067eb62ae888def5752a06ba |
| wasm/lib/src/browser_module.rs | https://github.com/RustPython/RustPython/pull/1159/files#diff-c8d9b34d7525fec271bfdb24a62509510961023857b1f0197863faa60049b37d |
|
View file
| https://github.com/palaviv/RustPython/blob/0a6253593f73cadd709890c02cd0c54c952e456a/wasm/lib/src/browser_module.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/1159/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/1159/files#diff-c8d9b34d7525fec271bfdb24a62509510961023857b1f0197863faa60049b37d |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |