docs: more stream-refactor work

pull/607/head
David Wilson 5 years ago
parent 4cd32cbcba
commit ded00d25c9

@ -25,8 +25,8 @@ Enhancements
^^^^^^^^^^^^ ^^^^^^^^^^^^
* `#587 <https://github.com/dw/mitogen/issues/587>`_: partial support for * `#587 <https://github.com/dw/mitogen/issues/587>`_: partial support for
Ansible 2.8 is now available. This implementation does not yet support the Ansible 2.8 is available. This implementation does not yet support the new
new `become plugins `become plugins
<https://docs.ansible.com/ansible/latest/plugins/become.html>`_ <https://docs.ansible.com/ansible/latest/plugins/become.html>`_
functionality, which will be addressed in a future release. functionality, which will be addressed in a future release.
@ -70,7 +70,7 @@ Core Library
*"Stream(ssh:123).connect()"* could become *"connecting to ssh:123"*. *"Stream(ssh:123).connect()"* could become *"connecting to ssh:123"*.
* :func:`bytearray` was removed from the list of supported serialization types. * :func:`bytearray` was removed from the list of supported serialization types.
It has never been portable, and does not appear to have been used. It has never been portable, and does not appear to have been used.
* `#170 <https://github.com/dw/mitogen/issues/170>`_: to better support child * `#170 <https://github.com/dw/mitogen/issues/170>`_: to better support child
process management and a future asynchronous connect implementation, a process management and a future asynchronous connect implementation, a
@ -78,10 +78,11 @@ Core Library
* `#419 <https://github.com/dw/mitogen/issues/419>`_: the internal * `#419 <https://github.com/dw/mitogen/issues/419>`_: the internal
:class:`mitogen.core.Stream` has been refactored into 7 new classes, :class:`mitogen.core.Stream` has been refactored into 7 new classes,
separating out protocol behaviour logic, output buffering, line-oriented modularizing protocol behaviour, output buffering, line-oriented input
input parsing, options handling, and connection management. The new parsing, options handling and connection management. Connection setup is
connection management implementation is internally asynchronous, laying internally asynchronous, laying almost all the groundwork needed for fully
almost all the groundwork needed for fully asynchronous connect. asynchronous connect, proxied Ansible become plug-ins, and integrating
`libssh <https://www.libssh.org/>`_.
* `#419 <https://github.com/dw/mitogen/issues/419>`_: zombie process reaping * `#419 <https://github.com/dw/mitogen/issues/419>`_: zombie process reaping
has vastly improved, by using the timer API to efficiently poll for a slow has vastly improved, by using the timer API to efficiently poll for a slow
@ -89,7 +90,7 @@ Core Library
`SIGCHLD` handler, or rely on the process-global 'signal file descriptor' `SIGCHLD` handler, or rely on the process-global 'signal file descriptor'
functionality only available in newer Python releases. functionality only available in newer Python releases.
* `#419 <https://github.com/dw/mitogen/issues/419>`_: almost all uses of * `#419 <https://github.com/dw/mitogen/issues/419>`_: most uses of
:func:`os.dup` have been removed, along with almost all cases of manual file :func:`os.dup` have been removed, along with almost all cases of manual file
descriptor management. Descriptors are trapped in :func:`os.fdopen` objects descriptor management. Descriptors are trapped in :func:`os.fdopen` objects
as soon as they are opened, ensuring a leaked object will close itself, and as soon as they are opened, ensuring a leaked object will close itself, and
@ -97,6 +98,11 @@ Core Library
bugs where a double close could destroy descriptors belonging to an unrelated bugs where a double close could destroy descriptors belonging to an unrelated
stream. stream.
* `a5536c35 <https://github.com/dw/mitogen/commit/a5536c35>`_: avoid quadratic
buffer management when logging lines received from a child's redirected
standard IO.
Thanks! Thanks!

Loading…
Cancel
Save