René's URL Explorer Experiment


Title: Avoid duplicate AST initialization and lazy-import locals allocation by youknowdot · Pull Request #9183 · RustPython/RustPython · GitHub

Open Graph Title: Avoid duplicate AST initialization and lazy-import locals allocation by youknowdot · Pull Request #9183 · RustPython/RustPython

X Title: Avoid duplicate AST initialization and lazy-import locals allocation by youknowdot · Pull Request #9183 · RustPython/RustPython

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

Open Graph Description: Summary Follow up on the two review findings in #9179 after its merge. Let PyType::call invoke the AST initializer once. NodeAst::slot_new only allocates, matching CPython's PyType_GenericNew....

X Description: Summary Follow up on the two review findings in #9179 after its merge. Let PyType::call invoke the AST initializer once. NodeAst::slot_new only allocates, matching CPython's PyType_Generic...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:f3f2f0b5-c47b-12cc-2409-275457bd26d3
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-id8B74:19E4BB:3953EE9:491E41F:6B01FE81
html-safe-noncedc27302b90fb389cc5076d15d7480f963c678acd5330a039edffa58aebdef73d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qjc0OjE5RTRCQjozOTUzRUU5OjQ5MUU0MUY6NkIwMUZFODEiLCJ2aXNpdG9yX2lkIjoiOTEwMzU2NDkzOTU0MDQzMDQ2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac70dc423c61c393690cd46481349b69d0c3ac1ce8d4afef0531006dac6d85ec51
hovercard-subject-tagpull_request:4907739188
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/9183/checks
twitter:imagehttps://opengraph.githubassets.com/0a62dfcb1df62df99266553fd52b3da22eeaefb31abe13f0f84b8e6474824aba/RustPython/RustPython/pull/9183
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0a62dfcb1df62df99266553fd52b3da22eeaefb31abe13f0f84b8e6474824aba/RustPython/RustPython/pull/9183
og:image:altSummary Follow up on the two review findings in #9179 after its merge. Let PyType::call invoke the AST initializer once. NodeAst::slot_new only allocates, matching CPython's PyType_GenericNew....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyouknowdot
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/9183/checks#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9183%2Fchecks
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9183%2Fchecks
Sign uphttps://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%2Fchecks&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/9183/checks
Reloadhttps://github.com/RustPython/RustPython/pull/9183/checks
Reloadhttps://github.com/RustPython/RustPython/pull/9183/checks
RustPythonhttps://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Codehttps://github.com/RustPython/RustPython
Issues195 (195)https://github.com/RustPython/RustPython/issues
Pull requests133 (133)https://github.com/RustPython/RustPython/pulls
Discussionshttps://github.com/RustPython/RustPython/discussions
Actionshttps://github.com/RustPython/RustPython/actions
Projectshttps://github.com/RustPython/RustPython/projects
Wikihttps://github.com/RustPython/RustPython/wiki
Security and qualityhttps://github.com/RustPython/RustPython/security
Insightshttps://github.com/RustPython/RustPython/insights
https://github.com/RustPython/RustPython
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowdot:fix/ast-initialization-lazy-locals-315https://github.com/youknowdot/RustPython/tree/fix/ast-initialization-lazy-locals-315
Conversationhttps://github.com/RustPython/RustPython/pull/9183
Commits1 (1)https://github.com/RustPython/RustPython/pull/9183/commits
Checkshttps://github.com/RustPython/RustPython/pull/9183/checks
Files changedhttps://github.com/RustPython/RustPython/pull/9183/files
Avoid duplicate AST initialization and lazy-import locals allocationhttps://github.com/RustPython/RustPython/pull/9183/checks#top
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowdot:fix/ast-initialization-lazy-locals-315https://github.com/youknowdot/RustPython/tree/fix/ast-initialization-lazy-locals-315
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9183/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9183%2Fchecks
CI on: pull_request https://github.com/RustPython/RustPython/actions/runs/39113211535
Determine changes https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117633538525?pr=9183
Run snippets and cpython tests (macos-latest) https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117633538321?pr=9183
Run snippets and cpython tests (ubuntu-latest) https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117633538502?pr=9183
Run snippets and cpython tests (windows-2025) https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117633538438?pr=9183
Lint https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117633538522?pr=9183
Run rust tests (macos-latest) https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117634149505?pr=9183
Run rust tests (ubuntu-latest) https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117634149532?pr=9183
Run rust tests (windows-2025) https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117634149526?pr=9183
cargo check (${{ matrix.os }}, ${{ matrix.target }}) https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117634150669?pr=9183
clippy (ubuntu-latest) https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117634149644?pr=9183
clippy (${{ matrix.os }}) https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117634150955?pr=9183
cargo shear https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117634149536?pr=9183
Run tests under miri https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117634149573?pr=9183
Check the WASM package and demo https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117634149541?pr=9183
Run snippets and cpython tests on wasm-wasi https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117634149558?pr=9183
cargo doc https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117634149562?pr=9183
pyperformance on: pull_request https://github.com/RustPython/RustPython/actions/runs/39113211602
base vs. head vs. CPython https://github.com/RustPython/RustPython/actions/runs/39113211602/job/117633539910?pr=9183
Manage OSCCA pull requests on: pull_request_target https://github.com/RustPython/RustPython/actions/runs/39113211676
Label and assign OSCCA pull request https://github.com/RustPython/RustPython/actions/runs/39113211676/job/117633539177?pr=9183
CodSpeed on: pull_request https://github.com/RustPython/RustPython/actions/runs/39113211708
Run benchmarks https://github.com/RustPython/RustPython/actions/runs/39113211708/job/117633538861?pr=9183
zizmor https://github.com/RustPython/RustPython/pull/9183/checks?check_run_id=117641718110
https://github.com/RustPython/RustPython/actions/runs/39113211535/job/117633538321
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.