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
8000 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
Fix typo
  • Loading branch information
vstinner committed Jan 6, 2025
commit 335c1bc5e2ea677b79b0a1e751b73f9f508174e3
2 changes: 1 addition & 1 deletion Python/fileutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1776,7 +1776,7 @@ Py_fopen(PyObject *path, const char *mode)
int async_err = 0;
int saved_errno;
#ifdef MS_WINDOWS
PyObject *fspath = PyOS_FSPath(arg);
PyObject *fspath = PyOS_FSPath(path);
if (fspath == NULL) {
return NULL;
}
Expand Down
Loading
0