MagicStack / MagicStack/uvloop

Question: does uvloop set stdout to non-blocking?

Open
#460 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Cython
Stars
11.9k
Forks
616
PR merge metrics
No merged PRs in 30d

Description

I'm trying to debug an issue and can't really follow the code in here and over at libuv.

I seem to be getting errors when printing out large amounts of data suggestiong my stdout might be switched to non-blocking mode. Is uvloop doing this, why (is there a parameter to not do it, is there a strong reason not to do it), and is stderr affected as well?

Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is identified; begin by tracing uvloop's stdout and stderr handling and the corresponding libuv behavior. Confirm whether large writes use non-blocking descriptors, why, and whether a configuration option exists; document the answer and reproduce the reported errors before considering a change.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.