Open bodo-hugo-barwich opened 3 years ago
This development has two important Dependencies with Python Core Libraries which are:
subprocess.Popen
Classselectors.DefaultSelector
ClassThe 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
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