Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-132162: tests for py_universalnewlinefgets#132164
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
gh-132162: tests for py_universalnewlinefgets#132164
Uh oh!
There was an error while loading.Please reload this page.
Conversation
1bfd558
toc8cd3ac
CompareThere is just |
^^@picnixz |
Do you need help? or are you asking for a review? for help on Windows-related stuff I'm not the one to ask in general (I'm not a Windows expert). My guess is that the issue comes from the newlines on Windows ( |
2c71597
to03f2e95
Comparealex-semenyuk commentedApr 12, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
From this log it's not quite clear where the issue is exact, just mentioned testcapi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
There are multiple leaks and Windows needs_fdopen
notfdopen
IIRC.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Modules/_testcapi/file.c Outdated
} | ||
FILE *fp = fdopen(fd, "rb"); | ||
if (fp == NULL) { | ||
PyErr_SetFromErrno(PyExc_OSError); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
this should return NULL
Uh oh!
There was an error while loading.Please reload this page.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase And if you don't make the requested changes, you will be poked with soft cushions! |
03f2e95
tod7226cd
CompareUh oh!
There was an error while loading.Please reload this page.
d7226cd
to53317b3
CompareUh oh!
There was an error while loading.Please reload this page.
53317b3
toaba99a8
Comparethanks,@vstinner, make sense |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
aba99a8
to00eb6c9
CompareThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM.
Please avoidgit push --force
andgit rebase
, it makes your PR harder to review. It's fine to avoid many commits in a PR.
d7365e6
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Merged, thank you. |
Uh oh!
There was an error while loading.Please reload this page.
Cover by tests Py_Universalnewlinefgets as mentioned atTODO