xoutil.eight
– Extensions for writing code that runs on Python 2 and 3¶
Deprecated since version 2.0.6: This module only serves to write programs that run the same in Python 2 and 3. But ‘xoutil>=2’ works in Python 3 only.
The name comes from (Manu’s idea’) “2 raised to the power of 3”.
This module is divided in several parts.
xoutil.eight.abc
- Abstract Base Classes (ABCs) according to PEP 3119xoutil.eight.meta
- metaclass function using Python 3 syntaxxoutil.eight.mixins
- functions to create helper classes and mixinsxoutil.eight.string
- Checkers for simple typesxoutil.eight.text
- TODOxoutil.eight.io
- Extensions to Python’s io modulexoutil.eight.queue
- A multi-producer, multi-consumer queuexoutil.eight.exceptions
- Exceptions handling compatibility