René's URL Explorer Experiment


Title: Add eval function to c-api by bschoenmaeckers · Pull Request #7927 · RustPython/RustPython · GitHub

Open Graph Title: Add eval function to c-api by bschoenmaeckers · Pull Request #7927 · RustPython/RustPython

X Title: Add eval function to c-api by bschoenmaeckers · Pull Request #7927 · RustPython/RustPython

Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.

Open Graph Description: Summary by CodeRabbit New Features Added C API entry points to compile and evaluate Python code and to access VM builtins, enabling embedding and executing Python with custom globals/locals. Ch...

X Description: Summary by CodeRabbit New Features Added C API entry points to compile and evaluate Python code and to access VM builtins, enabling embedding and executing Python with custom globals/locals. Ch...

Opengraph URL: https://github.com/RustPython/RustPython/pull/7927

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:de58cdfe-24db-e5b2-1f0e-a94c33e9cbcd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDB5A:249CA9:16E64DE:1E7E1ED:6A5AC828
html-safe-nonce1329ac1d27c6891bbee53830273cd995a1e200f077b2b13dfad05d771dda3c65
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjVBOjI0OUNBOToxNkU2NERFOjFFN0UxRUQ6NkE1QUM4MjgiLCJ2aXNpdG9yX2lkIjoiMjkzMDc4NzkxODIzNDE3NTUyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac87526ccf67d40cb1821616795d1c65f0c28a8d70887e31114b56ba0b7945037b
hovercard-subject-tagpull_request:3709225785
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/7927/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/565a4bf3a3e088cc4c9bdb836aee80f9afebbe70c167bc5a12bd9b4375b56b64/RustPython/RustPython/pull/7927
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/565a4bf3a3e088cc4c9bdb836aee80f9afebbe70c167bc5a12bd9b4375b56b64/RustPython/RustPython/pull/7927
og:image:altSummary by CodeRabbit New Features Added C API entry points to compile and evaluate Python code and to access VM builtins, enabling embedding and executing Python with custom globals/locals. Ch...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebschoenmaeckers
hostnamegithub.com
expected-hostnamegithub.com
Nonef422022de939199d6afcbaac024b42b6232a3498a95f198e17717afb8b46fb15
turbo-cache-controlno-cache
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2fa01ceb3b3a801409f050561abfb062094702d0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/7927#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7927
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F7927
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/7927
Reloadhttps://github.com/RustPython/RustPython/pull/7927
Reloadhttps://github.com/RustPython/RustPython/pull/7927
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7927
RustPython https://github.com/RustPython
RustPythonhttps://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 290 https://github.com/RustPython/RustPython/issues
Pull requests 106 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
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
bschoenmaeckers:c-api-evalhttps://github.com/bschoenmaeckers/RustPython/tree/c-api-eval
Conversationhttps://github.com/RustPython/RustPython/pull/7927
Commits3 (3)https://github.com/RustPython/RustPython/pull/7927/commits
Checkshttps://github.com/RustPython/RustPython/pull/7927/checks
Files changedhttps://github.com/RustPython/RustPython/pull/7927/files
Add eval function to c-apihttps://github.com/RustPython/RustPython/pull/7927#top
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
bschoenmaeckers:c-api-evalhttps://github.com/bschoenmaeckers/RustPython/tree/c-api-eval
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/bschoenmaeckers
May 19, 2026https://github.com/RustPython/RustPython/pull/7927#issue-4477788855
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7927
https://app.coderabbit.ai/change-stack/RustPython/RustPython/pull/7927?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7927
https://github.com/bschoenmaeckers
Add eval function to c-apihttps://github.com/RustPython/RustPython/pull/7927/commits/37efb05fa2baac1889cf0e315817d123ccf6dd46
37efb05https://github.com/RustPython/RustPython/pull/7927/commits/37efb05fa2baac1889cf0e315817d123ccf6dd46
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
May 19, 2026https://github.com/RustPython/RustPython/pull/7927#issuecomment-4488246847
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7927
9057729https://github.com/RustPython/RustPython/commit/9057729b1ac818c01b2153f82a1be73dd1c59984
202de7ahttps://github.com/RustPython/RustPython/commit/202de7aa67c06a58996d8519469365f4d3ae68d5
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=7927
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7927
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
May 19, 2026 https://github.com/RustPython/RustPython/pull/7927#pullrequestreview-4319452241
View reviewed changes https://github.com/RustPython/RustPython/pull/7927/files/37efb05fa2baac1889cf0e315817d123ccf6dd46
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/RustPython/RustPython/pull/7927#pullrequestreview-4319452241
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
26f5bbfhttps://github.com/RustPython/RustPython/commit/26f5bbf077607956b67cf31c8e3c67eb3ae80e38
37efb05https://github.com/RustPython/RustPython/commit/37efb05fa2baac1889cf0e315817d123ccf6dd46
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7927
crates/capi/src/ceval.rshttps://github.com/RustPython/RustPython/pull/7927/files/37efb05fa2baac1889cf0e315817d123ccf6dd46#diff-e139e19ba1f301ea2c439f478ee6158a8b7e350adfd1c749008082cb4233a645
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7927
crates/capi/src/ceval.rshttps://github.com/RustPython/RustPython/pull/7927/files/37efb05fa2baac1889cf0e315817d123ccf6dd46#diff-e139e19ba1f301ea2c439f478ee6158a8b7e350adfd1c749008082cb4233a645
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7927
https://github.com/bschoenmaeckers
Reviewhttps://github.com/RustPython/RustPython/pull/7927/commits/9057729b1ac818c01b2153f82a1be73dd1c59984
9057729https://github.com/RustPython/RustPython/pull/7927/commits/9057729b1ac818c01b2153f82a1be73dd1c59984
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/bschoenmaeckers
force-pushedhttps://github.com/RustPython/RustPython/compare/2ec3a03f87bab1b2b300ef0bcbe54594c6ab571d..9057729b1ac818c01b2153f82a1be73dd1c59984
2ec3a03https://github.com/RustPython/RustPython/commit/2ec3a03f87bab1b2b300ef0bcbe54594c6ab571d
9057729https://github.com/RustPython/RustPython/commit/9057729b1ac818c01b2153f82a1be73dd1c59984
Compare https://github.com/RustPython/RustPython/compare/2ec3a03f87bab1b2b300ef0bcbe54594c6ab571d..9057729b1ac818c01b2153f82a1be73dd1c59984
May 19, 2026 15:07https://github.com/RustPython/RustPython/pull/7927#event-25712327805
https://github.com/youknowone
youknowonehttps://github.com/youknowone
May 20, 2026 https://github.com/RustPython/RustPython/pull/7927#pullrequestreview-4324196742
View reviewed changes https://github.com/RustPython/RustPython/pull/7927/files/9057729b1ac818c01b2153f82a1be73dd1c59984
crates/capi/src/ceval.rshttps://github.com/RustPython/RustPython/pull/7927/files/9057729b1ac818c01b2153f82a1be73dd1c59984#diff-e139e19ba1f301ea2c439f478ee6158a8b7e350adfd1c749008082cb4233a645
youknowonehttps://github.com/youknowone
May 20, 2026https://github.com/RustPython/RustPython/pull/7927#discussion_r3270419677
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7927
bschoenmaeckershttps://github.com/bschoenmaeckers
May 20, 2026https://github.com/RustPython/RustPython/pull/7927#discussion_r3272133296
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7927
https://github.com/bschoenmaeckers
Extract Py_CompileString start values into constantshttps://github.com/RustPython/RustPython/pull/7927/commits/202de7aa67c06a58996d8519469365f4d3ae68d5
202de7ahttps://github.com/RustPython/RustPython/pull/7927/commits/202de7aa67c06a58996d8519469365f4d3ae68d5
https://github.com/youknowone
youknowonehttps://github.com/youknowone
May 20, 2026 https://github.com/RustPython/RustPython/pull/7927#pullrequestreview-4328819554
View reviewed changes https://github.com/RustPython/RustPython/pull/7927/files/202de7aa67c06a58996d8519469365f4d3ae68d5
youknowonehttps://github.com/youknowone
https://github.com/RustPython/RustPython/pull/7927#pullrequestreview-4328819554
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7927
https://github.com/youknowone
youknowonehttps://github.com/youknowone
de06fc0https://github.com/RustPython/RustPython/commit/de06fc092339e1d5a159077087da74568bfda778
May 20, 2026https://github.com/RustPython/RustPython/pull/7927#event-25759042637
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7927
https://github.com/bschoenmaeckers
bschoenmaeckershttps://github.com/bschoenmaeckers
May 20, 2026 13:20https://github.com/RustPython/RustPython/pull/7927#event-25759126964
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 22, 2026 https://github.com/RustPython/RustPython/pull/7927#ref-pullrequest-4713210772
Align compiler and AST behavior with CPython #8138 https://github.com/RustPython/RustPython/pull/8138
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 8, 2026 https://github.com/RustPython/RustPython/pull/7927#ref-pullrequest-4840236521
Add more eval functions to c-api #8244 https://github.com/RustPython/RustPython/pull/8244
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7927
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/RustPython/RustPython/pull/7927/files/2ec3a03f87bab1b2b300ef0bcbe54594c6ab571d
https://github.com/youknowone
youknowone https://github.com/youknowone
https://github.com/RustPython/RustPython/pull/7927/files/202de7aa67c06a58996d8519469365f4d3ae68d5
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7927
https://github.com/bschoenmaeckers
https://github.com/youknowone
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.