following PEP 394

http://legacy.python.org/dev/peps/pep-0394/