21569b3a31
Fix syntax workaround for python3.7 + python2.7. This code can't use 'yield from' to be still importable on python2.7, but asyncio.sleep() is no longer iterable on python3.7. Workaround it by manually calling coroutine.send(None) in a loop - ugly as hell, but works. I can't wait until we could drop python2 support... |
||
---|---|---|
ci | ||
debian | ||
doc | ||
etc | ||
qubesadmin | ||
rpm_spec | ||
test-packages | ||
.gitignore | ||
.pylintrc | ||
.travis.yml | ||
LICENSE | ||
Makefile | ||
Makefile.builder | ||
README.md | ||
run-tests | ||
setup.py | ||
version |
This is client side implementation of Qubes Admin API. See https://www.qubes-os.org/doc/admin-api/ for protocol specification.
Compatibility
Most of the API modules are compatible with Python >= 2.7. Very few parts require Python >= 3.5:
- tools (
qvm-*
) - qubesadmin.events module (for asyncio module)
Parts not compatible with Python < 3.5, are not installed in such environment.