René's URL Explorer Experiment


Title: `type(...).__name__` is `'EllipsisType'` instead of `'ellipsis'` · Issue #8052 · RustPython/RustPython · GitHub

Open Graph Title: `type(...).__name__` is `'EllipsisType'` instead of `'ellipsis'` · Issue #8052 · RustPython/RustPython

X Title: `type(...).__name__` is `'EllipsisType'` instead of `'ellipsis'` · Issue #8052 · RustPython/RustPython

Description: Feature In CPython the type of the ... singleton is named ellipsis (lowercase); types.EllipsisType is just an alias to it. RustPython named the type EllipsisType, so its __name__ and repr disagree with CPython. Surfaced by running CPytho...

Open Graph Description: Feature In CPython the type of the ... singleton is named ellipsis (lowercase); types.EllipsisType is just an alias to it. RustPython named the type EllipsisType, so its __name__ and repr disagree ...

X Description: Feature In CPython the type of the ... singleton is named ellipsis (lowercase); types.EllipsisType is just an alias to it. RustPython named the type EllipsisType, so its __name__ and repr disagree ...

Opengraph URL: https://github.com/RustPython/RustPython/issues/8052

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`type(...).__name__` is `'EllipsisType'` instead of `'ellipsis'`","articleBody":"## Feature\n\nIn CPython the type of the `...` singleton is named `ellipsis` (lowercase); `types.EllipsisType` is just an alias to it. RustPython named the type `EllipsisType`, so its `__name__` and `repr` disagree with CPython.\n\nSurfaced by running CPython's own stdlib test suite under RustPython — `test_json.test_default::test_bad_default` fails (its error text embeds `type(o).__name__`). The minimal standalone reproduction:\n\n### Reproduction\n\n```python\nprint(type(...).__name__)\nprint(repr(type(...)))\n```\n\n**CPython 3.14:**\n\n```\nellipsis\n\u003cclass 'ellipsis'>\n```\n\n**RustPython:**\n\n```\nEllipsisType\n\u003cclass 'EllipsisType'>\n```\n\n(`types.EllipsisType is type(...)` is `True` on both — only the name differs. A user-visible consequence: the `json` encoder's PEP 678 note `when serializing {type(o).__name__} object` reads `EllipsisType` instead of `ellipsis`.)\n\n## Python Documentation or reference to CPython source code\n\n- [`types.EllipsisType`](https://docs.python.org/3/library/types.html#types.EllipsisType) — documented as the type of `Ellipsis`; its `__name__` is `ellipsis`.\n- CPython's [`PyEllipsis_Type`](https://github.com/python/cpython/blob/v3.14.3/Objects/sliceobject.c) has `tp_name = \"ellipsis\"`.\n- RustPython's [`PyEllipsis`](https://github.com/RustPython/RustPython/blob/8e35cc9e72ea243df2705acb2cfb1a63fb8fbe0b/crates/vm/src/builtins/slice.rs#L372) is declared `#[pyclass(module = false, name = \"EllipsisType\")]`; that `name` is the type's `tp_name`.\n\n### Suggested fix\n\nRename the pyclass `name` to `\"ellipsis\"`. `types.EllipsisType` still resolves (it is defined as an alias), and now reports `__name__ == 'ellipsis'`, so the `test_bad_default` failure above then passes.\n\n---\n*Investigated and drafted with AI assistance (Claude Code), reviewed by a human before filing, per RustPython's AI policy.*\n","author":{"url":"https://github.com/myers","@type":"Person","name":"myers"},"datePublished":"2026-06-05T16:24:29Z","url":"https://github.com/RustPython/RustPython/issues/8052"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f7b02efc-b83e-b073-fb5c-f1a4f8942670
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBDAC:30263F:21D562F:2E07EB1:6B002717
html-safe-nonce6530b026fa8564f45f66b95dd04498115362ae5c0e73fe994eef5ec948c55274
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREFDOjMwMjYzRjoyMUQ1NjJGOjJFMDdFQjE6NkIwMDI3MTciLCJ2aXNpdG9yX2lkIjoiNDQ2NjI1NTY4NzM5MDg2NTE3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3a6bb34e2d3561549b8415aeecc48f180fc7d1059ae25efbdea4d76f2627fefe
hovercard-subject-tagissue:4598423192
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/RustPython/RustPython/8052/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3371f20bc43ed379e501e873494738148429964e5ca08605592ec814c8cf1597/RustPython/RustPython/issues/8052
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3371f20bc43ed379e501e873494738148429964e5ca08605592ec814c8cf1597/RustPython/RustPython/issues/8052
og:image:altFeature In CPython the type of the ... singleton is named ellipsis (lowercase); types.EllipsisType is just an alias to it. RustPython named the type EllipsisType, so its __name__ and repr disagree ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemyers
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-preview
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/RustPython/RustPython/issues/8052#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fissues%2F8052
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%2Fissues%2F8052
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/issues/8052
Reloadhttps://github.com/RustPython/RustPython/issues/8052
Reloadhttps://github.com/RustPython/RustPython/issues/8052
RustPythonhttps://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Codehttps://github.com/RustPython/RustPython
Issues195 (195)https://github.com/RustPython/RustPython/issues
Pull requests144 (144)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
New issuehttps://github.com/login?return_to=https://github.com/RustPython/RustPython/issues/8052
New issuehttps://github.com/login?return_to=https://github.com/RustPython/RustPython/issues/8052
type(...).__name__ is 'EllipsisType' instead of 'ellipsis'https://github.com/RustPython/RustPython/issues/8052#top
https://github.com/youknowone
C-compatA discrepancy between RustPython and CPythonhttps://github.com/RustPython/RustPython/issues?q=state%3Aopen%20label%3A%22C-compat%22
https://github.com/myers
myershttps://github.com/myers
on Jun 5, 2026https://github.com/RustPython/RustPython/issues/8052#issue-4598423192
types.EllipsisTypehttps://docs.python.org/3/library/types.html#types.EllipsisType
PyEllipsis_Typehttps://github.com/python/cpython/blob/v3.14.3/Objects/sliceobject.c
PyEllipsishttps://github.com/RustPython/RustPython/blob/8e35cc9e72ea243df2705acb2cfb1a63fb8fbe0b/crates/vm/src/builtins/slice.rs#L372
myershttps://github.com/myers
C-compatA discrepancy between RustPython and CPythonhttps://github.com/RustPython/RustPython/issues?q=state%3Aopen%20label%3A%22C-compat%22
on Jun 5, 2026https://github.com/RustPython/RustPython/issues/8052#event-26393728003
https://github.com/fanninpm
fanninpmhttps://github.com/fanninpm
on Jun 5, 2026https://github.com/RustPython/RustPython/issues/8052#issuecomment-4633530046
https://github.com/myers
myershttps://github.com/myers
on Jun 5, 2026https://github.com/RustPython/RustPython/issues/8052#issuecomment-4634586012
@fanninpmhttps://github.com/fanninpm
https://github.com/fanninpm
fanninpmhttps://github.com/fanninpm
on Jun 5, 2026https://github.com/RustPython/RustPython/issues/8052#issuecomment-4634858342
https://github.com/myers
myershttps://github.com/myers
on Jun 7, 2026https://github.com/RustPython/RustPython/issues/8052#issuecomment-4643392382
https://github.com/shAn-kor
shAn-korhttps://github.com/shAn-kor
on Jul 6, 2026https://github.com/RustPython/RustPython/issues/8052#issuecomment-4889084776
https://github.com/myers
myershttps://github.com/myers
on Jul 10, 2026https://github.com/RustPython/RustPython/issues/8052#issuecomment-4939261546
@shAn-korhttps://github.com/shAn-kor
https://github.com/RustPython/.github/blob/main/AI_POLICY.mdhttps://github.com/RustPython/.github/blob/main/AI_POLICY.md
fanninpmhttps://github.com/fanninpm
youknowonehttps://github.com/youknowone
on Jul 10, 2026https://github.com/RustPython/RustPython/issues/8052#event-27832524210
https://github.com/shAn-kor
shAn-korhttps://github.com/shAn-kor
on Jul 11, 2026https://github.com/RustPython/RustPython/issues/8052#issuecomment-4943655119
@shAn-korhttps://github.com/shAn-kor
https://github.com/RustPython/.github/blob/main/AI_POLICY.mdhttps://github.com/RustPython/.github/blob/main/AI_POLICY.md
https://github.com/youknowone
youknowonehttps://github.com/youknowone
on Aug 11, 2026https://github.com/RustPython/RustPython/issues/8052#issuecomment-5253432095
@myershttps://github.com/myers
https://github.com/youknowone
youknowonehttps://github.com/youknowone
on Oct 6, 2026https://github.com/RustPython/RustPython/issues/8052#issuecomment-6013441173
#8982https://github.com/RustPython/RustPython/issues/8982
youknowonehttps://github.com/youknowone
completedhttps://github.com/RustPython/RustPython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 6, 2026https://github.com/RustPython/RustPython/issues/8052#event-32585380162
Sign up for freehttps://github.com/signup?return_to=https://github.com/RustPython/RustPython/issues/8052
Sign in to commenthttps://github.com/login?return_to=https://github.com/RustPython/RustPython/issues/8052
youknowonehttps://github.com/youknowone
C-compatA discrepancy between RustPython and CPythonhttps://github.com/RustPython/RustPython/issues?q=state%3Aopen%20label%3A%22C-compat%22
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.