You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible/module_utils/compat
Bob Weinand f200487414
Fix filedescriptor out of range in select() when running commands (#65058)
* Fix filedescriptor out of range in select() when running commands

* Simplify the run_command() code

Now that we're using selectors in run_command(), we can simplify some of
the code.

* Use fileobj.read() instead of os.read()
* No longer use get_buffer_size() as we can just slurp all of the data
  instead.

Also use a simpler conditional check of whether the selector map is
empty

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
6 years ago
..
__init__.py Adds the ipaddress compat library backport from Python 3.x (#42265) 8 years ago
_selectors2.py Fix filedescriptor out of range in select() when running commands (#65058) 6 years ago
importlib.py Address compat issue for collection loading on py26 (#68219) 6 years ago
paramiko.py Handle InternalError raised by cryptography when running in FIPS mode (#65477) 6 years ago
selectors.py Fix filedescriptor out of range in select() when running commands (#65058) 6 years ago