René's URL Explorer Experiment


Title: Preserve symbolic buffer defaults in IO text signatures by youknowdot · Pull Request #9744 · RustPython/RustPython · GitHub

Open Graph Title: Preserve symbolic buffer defaults in IO text signatures by youknowdot · Pull Request #9744 · RustPython/RustPython

X Title: Preserve symbolic buffer defaults in IO text signatures by youknowdot · Pull Request #9744 · RustPython/RustPython

Description: Summary Preserve CPython 3.15's symbolic DEFAULT_BUFFER_SIZE default in BufferedReader, BufferedWriter, BufferedRandom, and BufferedRWPair text signatures. Only the three existing FromArgs declarations' metadata changes. Runtime defaults remain 131072 (128 * 1024); conversion order, argument types, and costs are unchanged. No new conversion mechanism or hand-written signature override is introduced. Regression assertions check raw constructor signatures, the positional-only distinction for BufferedRWPair, and inspect.signature resolving the module constant. Independent main-based branch; no dependency on #9741 or #9742. Reference CPython v3.15.0 Modules/_io/clinic/bufferedio.c.h, commit d220409a13b77de7a6c30abe16ea90db01528edc. The full signature snippet also passes on CPython 3.15.1. Validation Regression assertion fails on the previous RustPython binary. Independent source review completed. Workspace Rust tests and strict all-target Clippy passed. C-API Rust tests and strict all-target Clippy passed. Release build passed. Full builtin_signature.py passed on RustPython and CPython 3.15.1; RustPython pytest wrapper passed. RustPython test_io test_inspect: 1,425 tests, 99 skipped, all 10 test files passed. Cross-platform CI pending. Summary by CodeRabbit Updates Buffered reader, writer, random-access, and reader/writer-pair signatures now display the default buffer size as DEFAULT_BUFFER_SIZE, rather than a hard-coded numeric expression. The default remains 131072, so runtime behavior is unchanged. Tests Added checks that the displayed signatures use DEFAULT_BUFFER_SIZE and that inspect.signature resolves it to _io.DEFAULT_BUFFER_SIZE. Coverage includes the buffered reader, writer, random-access stream, and positional-only reader/writer-pair arguments.

Open Graph Description: Summary Preserve CPython 3.15's symbolic DEFAULT_BUFFER_SIZE default in BufferedReader, BufferedWriter, BufferedRandom, and BufferedRWPair text signatures. Only the three existing FromArgs decl...

X Description: Summary Preserve CPython 3.15's symbolic DEFAULT_BUFFER_SIZE default in BufferedReader, BufferedWriter, BufferedRandom, and BufferedRWPair text signatures. Only the three existing FromArgs ...

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

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:36f46f82-a61f-1fb1-7c88-47ac0e18bd65
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAECC:1F2F:17FF66A:1FE87A7:6B01F9A9
html-safe-nonce85dc617bc925b319a0dd0d0a25eacd4ccdc03735e625a82a110d96e396adf63d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUNDOjFGMkY6MTdGRjY2QToxRkU4N0E3OjZCMDFGOUE5IiwidmlzaXRvcl9pZCI6IjM3MDY1NTkxMTQ3MDU1MDA1ODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9fccffc6b9182afc2e83bcb87789387537141ea128075c90be1fc9baabf4b093
hovercard-subject-tagpull_request:5208208532
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/9744/files
twitter:imagehttps://avatars.githubusercontent.com/u/336763669?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/336763669?s=400&v=4
og:image:altSummary Preserve CPython 3.15's symbolic DEFAULT_BUFFER_SIZE default in BufferedReader, BufferedWriter, BufferedRandom, and BufferedRWPair text signatures. Only the three existing FromArgs decl...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/9744/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9744%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%2F9744%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/9744/files
Reloadhttps://github.com/RustPython/RustPython/pull/9744/files
Reloadhttps://github.com/RustPython/RustPython/pull/9744/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
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowdot:fix/io-signatures-20261108https://github.com/youknowdot/RustPython/tree/fix/io-signatures-20261108
Conversation 3 https://github.com/RustPython/RustPython/pull/9744
Commits 2 https://github.com/RustPython/RustPython/pull/9744/commits
Checks 27 https://github.com/RustPython/RustPython/pull/9744/checks
Files changed https://github.com/RustPython/RustPython/pull/9744/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9744/files
Preserve symbolic buffer defaults in IO text signatures https://github.com/RustPython/RustPython/pull/9744/files#top
Show all changes 2 commits https://github.com/RustPython/RustPython/pull/9744/files
fa06dbb Preserve symbolic buffer defaults in IO text signatures codex Nov 7, 2026 https://github.com/RustPython/RustPython/pull/9744/commits/fa06dbb2c73465a061c3571ad2e3eba2db996c93
bfb3df3 Use the shared IO buffer constant for constructor defaults codex Nov 8, 2026 https://github.com/RustPython/RustPython/pull/9744/commits/bfb3df3442468cfa1b4f970adbfea5436c9e0eb2
Clear filters https://github.com/RustPython/RustPython/pull/9744/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9744/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9744/files
_io.rs https://github.com/RustPython/RustPython/pull/9744/files#diff-90825edc73ec293e0ed3b2dbed7f0a492b1f8e51c25747326089a912267bdd3e
builtin_signature.py https://github.com/RustPython/RustPython/pull/9744/files#diff-10345555e7703ee171a268bc4c9e034fe6c4065467dd03018f308e7cdc29361b
crates/vm/src/stdlib/_io.rshttps://github.com/RustPython/RustPython/pull/9744/files#diff-90825edc73ec293e0ed3b2dbed7f0a492b1f8e51c25747326089a912267bdd3e
View file https://github.com/youknowdot/RustPython/blob/bfb3df3442468cfa1b4f970adbfea5436c9e0eb2/crates/vm/src/stdlib/_io.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9744/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9744/files#diff-90825edc73ec293e0ed3b2dbed7f0a492b1f8e51c25747326089a912267bdd3e
https://github.com/RustPython/RustPython/pull/9744/files#diff-90825edc73ec293e0ed3b2dbed7f0a492b1f8e51c25747326089a912267bdd3e
https://github.com/RustPython/RustPython/pull/9744/files#diff-90825edc73ec293e0ed3b2dbed7f0a492b1f8e51c25747326089a912267bdd3e
extra_tests/snippets/builtin_signature.pyhttps://github.com/RustPython/RustPython/pull/9744/files#diff-10345555e7703ee171a268bc4c9e034fe6c4065467dd03018f308e7cdc29361b
View file https://github.com/youknowdot/RustPython/blob/bfb3df3442468cfa1b4f970adbfea5436c9e0eb2/extra_tests/snippets/builtin_signature.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9744/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9744/files#diff-10345555e7703ee171a268bc4c9e034fe6c4065467dd03018f308e7cdc29361b
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9744/files
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.