Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Refactor Stream #419
The parent.Stream class is long overdue a refactor, it has grown into a monstrosity of method overrides, attributes and if: statements.
Ripe for extraction:
3 and 4 are somewhat mutually conflicting. Really it would be nice if each module exported something like subprocess.Popen(), but taking a config specifying passwords, that worked in a blocking manner. However async connect wants exactly the opposite: moving all the machinery to event-based, so maybe command execution can be event-based too. Just support string stdin/stdout/stderr in a single call, or something.