WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

read_nonblocking does not work on Windows #1

@yasonk

Description

@yasonk

Windows does not support select for file descriptors. Would need another way to timeout while reading on windows.

When this is fixed, the tests should pass with the workflow/test.yaml having this in the matrix:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.11", "3.12"]

In addition to select, on windows the fcntl import doesn't work. However, the functionality that we need for this to work actually works in pexpect, should investigate how to pexpect deals with windows and PtyProcess.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions