bskinn/stdio-mgr

High-level v2.0 plan

bskinn opened this issue · 0 comments

Based on the work thus far and issues remaining, I'm starting to see v2.0 as encompassing three main categories: features, platforms, and interferences.

The hope here is to use this issue as a classification/sorting mechanism, linking to other, task-specific issues (and maybe Projects?) to help keep

Features

Issue for overall v2.0 public API at #42.

  • Mocks/wraps that match the TextIOWrapper nature of the actual sys.stdfoo.
  • Flexible instantiation
    • Which streams mocked, and in what manner, etc. (#64, #46)
  • Fine control over piping/teeing/etc.
  • Logging (#43; #65 is related)
  • Direct wrapping of print (#74)
  • Convenient platform-specific EOL handling/normalization (#80)
  • Support for providing bytes to mocked stdin, and for streams to emit bytes (#36)

Platforms

Interferences

  • pytest (e.g., #78)
  • doctest (#71)
  • colorama (#71)
  • readline &c. (#71)
  • stdlib logging (#73)
  • ...