8000 gh-127350: Add Py_fopen() function by vstinner · Pull Request #127821 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-127350: Add Py_fopen() function #127821

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Jan 6, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Replace _Py_fopen_obj() with Py_fopen() in sysmodule.c
  • Loading branch information
vstinner committed Dec 13, 2024
commit 7390c5e6ff85f713b2ba1728f058eac3a8496889
2 changes: 1 addition & 1 deletion Python/sysmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2356,7 +2356,7 @@ static PyObject *
sys__dump_tracelets_impl(PyObject *module, PyObject *outpath)
/*[clinic end generated code: output=a7fe265e2bc3b674 input=5bff6880cd28ffd1]*/
{
FILE *out = _Py_fopen_obj(outpath, "wb");
FILE *out = Py_fopen(outpath, "wb");
if (out == NULL) {
return NULL;
}
Expand Down
Loading
0