Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged

Conversation

alex-semenyuk
Copy link
Contributor

@alex-semenyukalex-semenyuk commentedApr 6, 2025
edited by bedevere-appbot
Loading

Cover by tests Py_Universalnewlinefgets as mentioned atTODO

@alex-semenyukalex-semenyukforce-pushed thetests_py_universalnewlinefgets branch 2 times, most recently from1bfd558 toc8cd3acCompareApril 6, 2025 16:47
@alex-semenyuk
Copy link
ContributorAuthor

There is just
`0:01:23 load avg: 9.59 [101/486/1] test_capi worker non-zero exit code (Exit code 3221226505)

@alex-semenyuk
Copy link
ContributorAuthor

^^@picnixz

@picnixz
Copy link
Member

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 (\r\n) vs Unix (\n).

@alex-semenyukalex-semenyuk marked this pull request as draftApril 12, 2025 08:52
@alex-semenyukalex-semenyukforce-pushed thetests_py_universalnewlinefgets branch 2 times, most recently from2c71597 to03f2e95CompareApril 12, 2025 09:15
@alex-semenyuk
Copy link
ContributorAuthor

alex-semenyuk commentedApr 12, 2025
edited
Loading

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 (\r\n) vs Unix (\n).

From this log it's not quite clear where the issue is exact, just mentioned testcapi

Copy link
Member

@picnixzpicnixz left a 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.

}
FILE *fp = fdopen(fd, "rb");
if (fp == NULL) {
PyErr_SetFromErrno(PyExc_OSError);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

this should return NULL

@bedevere-app
Copy link

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 phraseI have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

And if you don't make the requested changes, you will be poked with soft cushions!

@alex-semenyukalex-semenyukforce-pushed thetests_py_universalnewlinefgets branch from03f2e95 tod7226cdCompareApril 12, 2025 21:27
@alex-semenyukalex-semenyukforce-pushed thetests_py_universalnewlinefgets branch fromd7226cd to53317b3CompareApril 23, 2025 16:20
@alex-semenyukalex-semenyukforce-pushed thetests_py_universalnewlinefgets branch from53317b3 toaba99a8CompareApril 23, 2025 16:42
@alex-semenyuk
Copy link
ContributorAuthor

thanks,@vstinner, make sense

@alex-semenyukalex-semenyuk marked this pull request as ready for reviewApril 23, 2025 17:08
@alex-semenyukalex-semenyukforce-pushed thetests_py_universalnewlinefgets branch fromaba99a8 to00eb6c9CompareApril 23, 2025 18:55
Copy link
Member

@vstinnervstinner left a 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.

@vstinnervstinner merged commitd7365e6 intopython:mainApr 24, 2025
45 checks passed
@vstinner
Copy link
Member

Merged, thank you.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@picnixzpicnixzpicnixz requested changes

@vstinnervstinnervstinner approved these changes

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@alex-semenyuk@picnixz@vstinner

[8]ページ先頭

©2009-2025 Movatter.jp