Certain modules have been renamed between python 2.7 and 3.7.
In #8606 a fall back to the python 3 name for these modules was introduced. Since our releases are using Python 2.7, we first attempt to import the Python 2.7 module.
When we reach the point of including Python 3 support in a release of NVDA we should remove the python 2 imports.
See also: #8727 (Python 3 imports: additional work on builtins, relative imports, importlib)
Certain modules have been renamed between python 2.7 and 3.7.
In #8606 a fall back to the python 3 name for these modules was introduced. Since our releases are using Python 2.7, we first attempt to import the Python 2.7 module.
When we reach the point of including Python 3 support in a release of NVDA we should remove the python 2 imports.
See also: #8727 (Python 3 imports: additional work on builtins, relative imports, importlib)