bodo-hugo-barwich / pycommand

Python Package for Multiprocessing
Apache License 2.0
0 stars 0 forks source link

Backport to Python2 #8

Open bodo-hugo-barwich opened 3 years ago

bodo-hugo-barwich commented 3 years ago

Although according to the official Python documentation Python2 has already reached End of Life it is still the Default Python Installation on most Linux Systems. Python End of Life Branches

The Ansible Automation Framework still requires Python2 compatibility for biggest backward compatibilty with any possible Destination Hosts.

For this Library to be useable in Ansible modules it must also be compatible with Python2

bodo-hugo-barwich commented 3 years ago

This development has two important Dependencies with Python Core Libraries which are:

The subprocess package was introduces in Python 2.4 Popen objects in Python2 and so is also available in old Python2 environments.

But the selectors package did not exist in Python2 and was not backported as well select Package The select.select() Function must be used instead. select.select() Function