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

[3.13] Use os.openpty() instead of pty.openpty() in test_ioctl#132878

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

serhiy-storchaka
Copy link
Member

pty.openpty() does not work on Android, and it is easier to check availability of os.openpty.

pty.openpty() does not work on Android, and it is easier to checkavailability of os.openpty.
@serhiy-storchaka
Copy link
MemberAuthor

!buildbot Android

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by@serhiy-storchaka for commitaf45ba0 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F132878%2Fmerge

The command will test the builders whose names match following regular expression:Android

The builders matched are:

  • AMD64 Android PR
  • aarch64 Android PR

@serhiy-storchaka
Copy link
MemberAuthor

See#132848 (comment).

It is weird that only 3.13 fails. I am going to apply the same change to main after testing it for 3.13.

There is no benefit of using pty.openpty() over os.openpty(), because the tests fail if os.openpty() does not work.

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.

But it's kind of unusual to make a change first in 3.13, and then forward-port it to the main branch. I would suggest to start on main and then backport.

@serhiy-storchaka
Copy link
MemberAuthor

This is because the issue can only be reproduced in 3.13, so it is not possible to test the solution in main.

@serhiy-storchakaserhiy-storchaka merged commitbf6c74d intopython:3.13Apr 24, 2025
44 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@vstinnervstinnervstinner approved these changes

Assignees
No one assigned
Labels
skip issueskip newstestsTests in the Lib/test dir
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@serhiy-storchaka@bedevere-bot@vstinner

[8]ページ先頭

©2009-2025 Movatter.jp