Skip to content

Remove Python 2 imports for modules renamed in python 3 #8677

@feerrenrut

Description

@feerrenrut

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)

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions