René's URL Explorer Experiment


Title: gh-127350: Add Py_fopen() function by vstinner · Pull Request #127821 · python/cpython · GitHub

Open Graph Title: gh-127350: Add Py_fopen() function by vstinner · Pull Request #127821 · python/cpython

X Title: gh-127350: Add Py_fopen() function by vstinner · Pull Request #127821 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Rename _Py_fopen_obj() to Py_fopen(). The function now also accepts bytes path on Windows. Remove the private, undocumented, and untested function _Py_fopen_obj(). Issue: _Py_wfopen no longer ex...

X Description: Rename _Py_fopen_obj() to Py_fopen(). The function now also accepts bytes path on Windows. Remove the private, undocumented, and untested function _Py_fopen_obj(). Issue: _Py_wfopen no longer ex...

Opengraph URL: https://github.com/python/cpython/pull/127821

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/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:194d045c-647d-b0c0-5807-17c6e3d33cf6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8E14:2E9831:24BBD2F:30498E9:6B025526
html-safe-nonce1051a11a859cf7ee9a1cb1e801c6621fddcbc4619f659a754a8bcc889c314ae2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTE0OjJFOTgzMToyNEJCRDJGOjMwNDk4RTk6NkIwMjU1MjYiLCJ2aXNpdG9yX2lkIjoiMjkwMTMyNDY1NzM0Mjk2MDkzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3651f828d8836938d6bd1292c5accb5c1429bff71d9d27f04cc3f6af01513565
hovercard-subject-tagpull_request:2228896324
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/127821/commits
twitter:imagehttps://opengraph.githubassets.com/378092d6adc15489fea07a19d2705e114ac7194c6ae51f9bab4107c37b365f26/python/cpython/pull/127821
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/378092d6adc15489fea07a19d2705e114ac7194c6ae51f9bab4107c37b365f26/python/cpython/pull/127821
og:image:altRename _Py_fopen_obj() to Py_fopen(). The function now also accepts bytes path on Windows. Remove the private, undocumented, and untested function _Py_fopen_obj(). Issue: _Py_wfopen no longer ex...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
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/python/cpython/pull/127821/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127821%2Fcommits
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%2Fpython%2Fcpython%2Fpull%2F127821%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/127821/commits
Reloadhttps://github.com/python/cpython/pull/127821/commits
Reloadhttps://github.com/python/cpython/pull/127821/commits
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:py_fopenhttps://github.com/vstinner/cpython/tree/py_fopen
Conversationhttps://github.com/python/cpython/pull/127821
Commits20 (20)https://github.com/python/cpython/pull/127821/commits
Checkshttps://github.com/python/cpython/pull/127821/checks
Files changedhttps://github.com/python/cpython/pull/127821/files
gh-127350: Add Py_fopen() functionhttps://github.com/python/cpython/pull/127821/commits#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:py_fopenhttps://github.com/vstinner/cpython/tree/py_fopen
gh-127350: Add Py_fopen() functionhttps://github.com/python/cpython/pull/127821/commits/773c4d96d890d083c8f159ad99c82ba65cf6e9ae
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
773c4d9https://github.com/python/cpython/pull/127821/commits/773c4d96d890d083c8f159ad99c82ba65cf6e9ae
https://github.com/python/cpython/tree/773c4d96d890d083c8f159ad99c82ba65cf6e9ae
Add Py_fclose() functionhttps://github.com/python/cpython/pull/127821/commits/b80f4245e4635306c6c7e3fda08323d5e859390d
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
b80f424https://github.com/python/cpython/pull/127821/commits/b80f4245e4635306c6c7e3fda08323d5e859390d
https://github.com/python/cpython/tree/b80f4245e4635306c6c7e3fda08323d5e859390d
Merge branch 'main' into py_fopenhttps://github.com/python/cpython/pull/127821/commits/14fb2498279df4d021fa35059bf92511a65ea380
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
14fb249https://github.com/python/cpython/pull/127821/commits/14fb2498279df4d021fa35059bf92511a65ea380
https://github.com/python/cpython/tree/14fb2498279df4d021fa35059bf92511a65ea380
Replace _Py_fopen_obj() with Py_fopen() in sysmodule.chttps://github.com/python/cpython/pull/127821/commits/7390c5e6ff85f713b2ba1728f058eac3a8496889
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
7390c5ehttps://github.com/python/cpython/pull/127821/commits/7390c5e6ff85f713b2ba1728f058eac3a8496889
https://github.com/python/cpython/tree/7390c5e6ff85f713b2ba1728f058eac3a8496889
Simplify Py_fclose() documentationhttps://github.com/python/cpython/pull/127821/commits/26a5a5698e43419f52ad831cd3706916fc525907
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
26a5a56https://github.com/python/cpython/pull/127821/commits/26a5a5698e43419f52ad831cd3706916fc525907
https://github.com/python/cpython/tree/26a5a5698e43419f52ad831cd3706916fc525907
Run make clinichttps://github.com/python/cpython/pull/127821/commits/4375566a429ad288331a7f92e2462d7bace887b7
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
4375566https://github.com/python/cpython/pull/127821/commits/4375566a429ad288331a7f92e2462d7bace887b7
https://github.com/python/cpython/tree/4375566a429ad288331a7f92e2462d7bace887b7
Update Doc/c-api/sys.rsthttps://github.com/python/cpython/pull/127821/commits/a7793215dfce7819ab82f726815b29ebdfef0236
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
zoobahttps://github.com/python/cpython/commits?author=zooba
a779321https://github.com/python/cpython/pull/127821/commits/a7793215dfce7819ab82f726815b29ebdfef0236
https://github.com/python/cpython/tree/a7793215dfce7819ab82f726815b29ebdfef0236
Document Py_fclose() return valuehttps://github.com/python/cpython/pull/127821/commits/e6133740e832018ea35888e43a88d009c35a2782
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
e613374https://github.com/python/cpython/pull/127821/commits/e6133740e832018ea35888e43a88d009c35a2782
https://github.com/python/cpython/tree/e6133740e832018ea35888e43a88d009c35a2782
Merge branch 'main' into py_fopenhttps://github.com/python/cpython/pull/127821/commits/a908b7265332ccc83a3d825d6fcaa62d367ba6de
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
a908b72https://github.com/python/cpython/pull/127821/commits/a908b7265332ccc83a3d825d6fcaa62d367ba6de
https://github.com/python/cpython/tree/a908b7265332ccc83a3d825d6fcaa62d367ba6de
Address some of Serhiy's reviewhttps://github.com/python/cpython/pull/127821/commits/2af4d2b3c24e73d0ecafed22e9fddf9745c1f4e5
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
2af4d2bhttps://github.com/python/cpython/pull/127821/commits/2af4d2b3c24e73d0ecafed22e9fddf9745c1f4e5
https://github.com/python/cpython/tree/2af4d2b3c24e73d0ecafed22e9fddf9745c1f4e5
Address Erlend's reviewhttps://github.com/python/cpython/pull/127821/commits/8e9170ea2c1ee50fc68b3113b6829b0b8aa13e2a
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
8e9170ehttps://github.com/python/cpython/pull/127821/commits/8e9170ea2c1ee50fc68b3113b6829b0b8aa13e2a
https://github.com/python/cpython/tree/8e9170ea2c1ee50fc68b3113b6829b0b8aa13e2a
Add more testshttps://github.com/python/cpython/pull/127821/commits/a8c26b2707e74c6b1ca593d4123cc7f283e2d5c5
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
a8c26b2https://github.com/python/cpython/pull/127821/commits/a8c26b2707e74c6b1ca593d4123cc7f283e2d5c5
https://github.com/python/cpython/tree/a8c26b2707e74c6b1ca593d4123cc7f283e2d5c5
Support __fspath__() protocol on Windowshttps://github.com/python/cpython/pull/127821/commits/5b52a4e63dcd5ca445bdb721feb44f3d622c6e70
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
5b52a4ehttps://github.com/python/cpython/pull/127821/commits/5b52a4e63dcd5ca445bdb721feb44f3d622c6e70
https://github.com/python/cpython/tree/5b52a4e63dcd5ca445bdb721feb44f3d622c6e70
Update doc for path-like objecthttps://github.com/python/cpython/pull/127821/commits/e6a53feda01b5d47675de112c596e24773562585
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
e6a53fehttps://github.com/python/cpython/pull/127821/commits/e6a53feda01b5d47675de112c596e24773562585
https://github.com/python/cpython/tree/e6a53feda01b5d47675de112c596e24773562585
Keep _Py_fopen_obj() functionhttps://github.com/python/cpython/pull/127821/commits/1d1e7f4985ae0dcd177e5bccc41b174192f44ed5
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
1d1e7f4https://github.com/python/cpython/pull/127821/commits/1d1e7f4985ae0dcd177e5bccc41b174192f44ed5
https://github.com/python/cpython/tree/1d1e7f4985ae0dcd177e5bccc41b174192f44ed5
Fix typohttps://github.com/python/cpython/pull/127821/commits/335c1bc5e2ea677b79b0a1e751b73f9f508174e3
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
335c1bchttps://github.com/python/cpython/pull/127821/commits/335c1bc5e2ea677b79b0a1e751b73f9f508174e3
https://github.com/python/cpython/tree/335c1bc5e2ea677b79b0a1e751b73f9f508174e3
Fix test on macOS and WASIhttps://github.com/python/cpython/pull/127821/commits/82414221f5b0386a0464173c5cb48a4c880a8d73
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
8241422https://github.com/python/cpython/pull/127821/commits/82414221f5b0386a0464173c5cb48a4c880a8d73
https://github.com/python/cpython/tree/82414221f5b0386a0464173c5cb48a4c880a8d73
Rewrite the Windows implementationhttps://github.com/python/cpython/pull/127821/commits/c91aa82dc4a059126c9730d5c03ee3ba6dd883ef
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
c91aa82https://github.com/python/cpython/pull/127821/commits/c91aa82dc4a059126c9730d5c03ee3ba6dd883ef
https://github.com/python/cpython/tree/c91aa82dc4a059126c9730d5c03ee3ba6dd883ef
Use FakePathhttps://github.com/python/cpython/pull/127821/commits/0fc6dc10d767f93ead306cb06cb06fdedeacaf98
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
0fc6dc1https://github.com/python/cpython/pull/127821/commits/0fc6dc10d767f93ead306cb06cb06fdedeacaf98
https://github.com/python/cpython/tree/0fc6dc10d767f93ead306cb06cb06fdedeacaf98
NULL mode does crashhttps://github.com/python/cpython/pull/127821/commits/dda433569a6ecdae30495cf90fd6c24ef26db2f0
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
dda4335https://github.com/python/cpython/pull/127821/commits/dda433569a6ecdae30495cf90fd6c24ef26db2f0
https://github.com/python/cpython/tree/dda433569a6ecdae30495cf90fd6c24ef26db2f0
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.