xobox.utils.compat
The :py~xobox.utils.compat
module provides data, functions and classes whose interfaces have changed with newer Python versions, or which are not available on all operating systems supported by xobox. This allows using the most recent interface of these functions and classes within the xobox code, without hacking around all along the code. Therefore, this module centralises all the dirty hacks which become necessary when the Python standard library does not provide its own compatibility layer.
xobox.utils.compat.EX_OK
xobox.utils.compat.EX_USAGE
xobox.utils.compat.EX_DATAERR
xobox.utils.compat.EX_NOINPUT
xobox.utils.compat.EX_NOUSER
xobox.utils.compat.EX_NOHOST
xobox.utils.compat.EX_UNAVAILABLE
xobox.utils.compat.EX_SOFTWARE
xobox.utils.compat.EX_OSERR
xobox.utils.compat.EX_OSFILE
xobox.utils.compat.EX_CANTCREAT
xobox.utils.compat.EX_IOERR
xobox.utils.compat.EX_TEMPFAIL
xobox.utils.compat.EX_PROTOCOL
xobox.utils.compat.EX_NOPERM
xobox.utils.compat.EX_CONFIG
xobox.utils.compat.EX_NOTFOUND