René's URL Explorer Experiment


Title: Add RecursionError by lazylife7157 · Pull Request #1477 · RustPython/RustPython · GitHub

Open Graph Title: Add RecursionError by lazylife7157 · Pull Request #1477 · RustPython/RustPython

X Title: Add RecursionError by lazylife7157 · Pull Request #1477 · RustPython/RustPython

Description: Partial solution of #1374 I made a small change to check recursion depth before push the frame and then raise error instead of run until segmentation fault occurs. But it seems there is still a problem. RustPython occurs segmentation fault on 700 (debug) ~ 2600 (release) recursive calls while cpython is fine until 15000. This is the reason that I set default limit lower than cpython. If there is any inappropriate changes, please let me know. Thank you.

Open Graph Description: Partial solution of #1374 I made a small change to check recursion depth before push the frame and then raise error instead of run until segmentation fault occurs. But it seems there is still a pro...

X Description: Partial solution of #1374 I made a small change to check recursion depth before push the frame and then raise error instead of run until segmentation fault occurs. But it seems there is still a pro...

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

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/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:120d07c3-ab13-3101-eda9-48e3d9da549d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCD90:1201C:3229D15:42A07DD:6B01E6D6
html-safe-nonce5c7641e8693a693e40d27005cb9d9542c5d01303320208e224e553283ddb0a5d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDkwOjEyMDFDOjMyMjlEMTU6NDJBMDdERDo2QjAxRTZENiIsInZpc2l0b3JfaWQiOiIyNzA0Mjc4MTY3NzU3MTIxMjM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac66d8eba6c5c5b340d9a69e960734089b7ded1ce7876f98b44bd92da6ffdfd52b
hovercard-subject-tagpull_request:324968410
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/1477/files
twitter:imagehttps://avatars.githubusercontent.com/u/26483896?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/26483896?s=400&v=4
og:image:altPartial solution of #1374 I made a small change to check recursion depth before push the frame and then raise error instead of run until segmentation fault occurs. But it seems there is still a pro...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/1477/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F1477%2Ffiles
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%2F1477%2Ffiles
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%2Ffiles&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/1477/files
Reloadhttps://github.com/RustPython/RustPython/pull/1477/files
Reloadhttps://github.com/RustPython/RustPython/pull/1477/files
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
Sign up for GitHub https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
windelbouwmanhttps://github.com/windelbouwman
RustPython:masterhttps://github.com/RustPython/RustPython/tree/master
lazylife7157:recursion_errorhttps://github.com/lazylife7157/RustPython/tree/recursion_error
Conversation 4 https://github.com/RustPython/RustPython/pull/1477
Commits 7 https://github.com/RustPython/RustPython/pull/1477/commits
Checks 0 https://github.com/RustPython/RustPython/pull/1477/checks
Files changed https://github.com/RustPython/RustPython/pull/1477/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1477/files
Add RecursionError https://github.com/RustPython/RustPython/pull/1477/files#top
Show all changes 7 commits https://github.com/RustPython/RustPython/pull/1477/files
c90ffa7 Add RecursionError lazylife7157 Oct 6, 2019 https://github.com/RustPython/RustPython/pull/1477/commits/c90ffa7db3369b97adcadacb8563bcd9b1b46394
87d31e4 Add recursion limit test lazylife7157 Oct 6, 2019 https://github.com/RustPython/RustPython/pull/1477/commits/87d31e4ee0099e6c262b6a992d04a382fb656b3c
297777a Raise RecursionError when maximum recursion depth exceeded lazylife7157 Oct 6, 2019 https://github.com/RustPython/RustPython/pull/1477/commits/297777a15ac8537e93ed1cb6e2875929fe3b2a08
c15c428 Add sys.getrecursionlimit && sys.setrecursionlimit lazylife7157 Oct 6, 2019 https://github.com/RustPython/RustPython/pull/1477/commits/c15c428da7441e8d8a14af3252cb6979f1c9f216
c80c68c Refine recursion test lazylife7157 Oct 6, 2019 https://github.com/RustPython/RustPython/pull/1477/commits/c80c68cb06d8ca0fc1639f94bdbfc8c1318f4306
540bcbc Change type of recursion_limit to Cell lazylife7157 Oct 6, 2019 https://github.com/RustPython/RustPython/pull/1477/commits/540bcbc26b64b2d69d9902f23e6f6232cc0a77d0
d0d5dbe Formatting lazylife7157 Oct 6, 2019 https://github.com/RustPython/RustPython/pull/1477/commits/d0d5dbea6775c4d157d0b165defee6df2a34e750
Clear filters https://github.com/RustPython/RustPython/pull/1477/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1477/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1477/files
sysmod.py https://github.com/RustPython/RustPython/pull/1477/files#diff-4098aa3cf2ac5af306db8b66830faabffc7b7a76851e8932656b04e31654d9ff
builtins.rs https://github.com/RustPython/RustPython/pull/1477/files#diff-2fb46e28bfa853775da229c10cd0c32c3b093d30bf4ff26abaa6caeac035ea00
exceptions.rs https://github.com/RustPython/RustPython/pull/1477/files#diff-d19484f26ba252a3b3ff27867db9682f948572dd37e83e811d6f073bfc2f07c2
sysmodule.rs https://github.com/RustPython/RustPython/pull/1477/files#diff-7ad0f3f4e1f2215afb4494dc68b35d8591a499c318f1618cec56aecee0fbdc4a
vm.rs https://github.com/RustPython/RustPython/pull/1477/files#diff-c44c9a77e94801c68d29dc6d259e2ba6dc1d30c09e228f423aa539c4e8533fcf
tests/snippets/sysmod.pyhttps://github.com/RustPython/RustPython/pull/1477/files#diff-4098aa3cf2ac5af306db8b66830faabffc7b7a76851e8932656b04e31654d9ff
View file https://github.com/lazylife7157/RustPython/blob/d0d5dbea6775c4d157d0b165defee6df2a34e750/tests/snippets/sysmod.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/1477/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/1477/files#diff-4098aa3cf2ac5af306db8b66830faabffc7b7a76851e8932656b04e31654d9ff
https://github.com/RustPython/RustPython/pull/1477/files#diff-4098aa3cf2ac5af306db8b66830faabffc7b7a76851e8932656b04e31654d9ff
vm/src/builtins.rshttps://github.com/RustPython/RustPython/pull/1477/files#diff-2fb46e28bfa853775da229c10cd0c32c3b093d30bf4ff26abaa6caeac035ea00
View file https://github.com/lazylife7157/RustPython/blob/d0d5dbea6775c4d157d0b165defee6df2a34e750/vm/src/builtins.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/1477/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/1477/files#diff-2fb46e28bfa853775da229c10cd0c32c3b093d30bf4ff26abaa6caeac035ea00
https://github.com/RustPython/RustPython/pull/1477/files#diff-2fb46e28bfa853775da229c10cd0c32c3b093d30bf4ff26abaa6caeac035ea00
vm/src/exceptions.rshttps://github.com/RustPython/RustPython/pull/1477/files#diff-d19484f26ba252a3b3ff27867db9682f948572dd37e83e811d6f073bfc2f07c2
View file https://github.com/lazylife7157/RustPython/blob/d0d5dbea6775c4d157d0b165defee6df2a34e750/vm/src/exceptions.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/1477/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/1477/files#diff-d19484f26ba252a3b3ff27867db9682f948572dd37e83e811d6f073bfc2f07c2
https://github.com/RustPython/RustPython/pull/1477/files#diff-d19484f26ba252a3b3ff27867db9682f948572dd37e83e811d6f073bfc2f07c2
https://github.com/RustPython/RustPython/pull/1477/files#diff-d19484f26ba252a3b3ff27867db9682f948572dd37e83e811d6f073bfc2f07c2
https://github.com/RustPython/RustPython/pull/1477/files#diff-d19484f26ba252a3b3ff27867db9682f948572dd37e83e811d6f073bfc2f07c2
https://github.com/RustPython/RustPython/pull/1477/files#diff-d19484f26ba252a3b3ff27867db9682f948572dd37e83e811d6f073bfc2f07c2
https://github.com/RustPython/RustPython/pull/1477/files#diff-d19484f26ba252a3b3ff27867db9682f948572dd37e83e811d6f073bfc2f07c2
vm/src/sysmodule.rshttps://github.com/RustPython/RustPython/pull/1477/files#diff-7ad0f3f4e1f2215afb4494dc68b35d8591a499c318f1618cec56aecee0fbdc4a
View file https://github.com/lazylife7157/RustPython/blob/d0d5dbea6775c4d157d0b165defee6df2a34e750/vm/src/sysmodule.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/1477/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/1477/files#diff-7ad0f3f4e1f2215afb4494dc68b35d8591a499c318f1618cec56aecee0fbdc4a
https://github.com/RustPython/RustPython/pull/1477/files#diff-7ad0f3f4e1f2215afb4494dc68b35d8591a499c318f1618cec56aecee0fbdc4a
https://github.com/RustPython/RustPython/pull/1477/files#diff-7ad0f3f4e1f2215afb4494dc68b35d8591a499c318f1618cec56aecee0fbdc4a
https://github.com/RustPython/RustPython/pull/1477/files#diff-7ad0f3f4e1f2215afb4494dc68b35d8591a499c318f1618cec56aecee0fbdc4a
https://github.com/RustPython/RustPython/pull/1477/files#diff-7ad0f3f4e1f2215afb4494dc68b35d8591a499c318f1618cec56aecee0fbdc4a
vm/src/vm.rshttps://github.com/RustPython/RustPython/pull/1477/files#diff-c44c9a77e94801c68d29dc6d259e2ba6dc1d30c09e228f423aa539c4e8533fcf
View file https://github.com/lazylife7157/RustPython/blob/d0d5dbea6775c4d157d0b165defee6df2a34e750/vm/src/vm.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/1477/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/1477/files#diff-c44c9a77e94801c68d29dc6d259e2ba6dc1d30c09e228f423aa539c4e8533fcf
https://github.com/RustPython/RustPython/pull/1477/files#diff-c44c9a77e94801c68d29dc6d259e2ba6dc1d30c09e228f423aa539c4e8533fcf
https://github.com/RustPython/RustPython/pull/1477/files#diff-c44c9a77e94801c68d29dc6d259e2ba6dc1d30c09e228f423aa539c4e8533fcf
https://github.com/RustPython/RustPython/pull/1477/files#diff-c44c9a77e94801c68d29dc6d259e2ba6dc1d30c09e228f423aa539c4e8533fcf
https://github.com/RustPython/RustPython/pull/1477/files#diff-c44c9a77e94801c68d29dc6d259e2ba6dc1d30c09e228f423aa539c4e8533fcf
https://github.com/RustPython/RustPython/pull/1477/files#diff-c44c9a77e94801c68d29dc6d259e2ba6dc1d30c09e228f423aa539c4e8533fcf
https://github.com/RustPython/RustPython/pull/1477/files#diff-c44c9a77e94801c68d29dc6d259e2ba6dc1d30c09e228f423aa539c4e8533fcf
https://github.com/RustPython/RustPython/pull/1477/files#diff-c44c9a77e94801c68d29dc6d259e2ba6dc1d30c09e228f423aa539c4e8533fcf
https://github.com/RustPython/RustPython/pull/1477/files#diff-c44c9a77e94801c68d29dc6d259e2ba6dc1d30c09e228f423aa539c4e8533fcf
https://github.com/RustPython/RustPython/pull/1477/files#diff-c44c9a77e94801c68d29dc6d259e2ba6dc1d30c09e228f423aa539c4e8533fcf
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.