mitsuhiko / mitsuhiko/python-unio

Support for wrapping open file descriptors?

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
164
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hi, is there a way to wrap an existing file descriptor, most notably an open subprocess's stdin or stdout using unio? The io.TextWrapper and related functionality are not exactly the same in Python 2.6, 2.7, 3.3, and 3.4, and it looks like unio has a lot of compatibility code already.

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

Begin with unio's existing compatibility code and its handling of io.TextWrapper across Python 2.6, 2.7, 3.3, and 3.4. Determine the supported API for wrapping an existing descriptor such as subprocess stdin or stdout; completion criteria are not specified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
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.