Hi,
Continuing from #8590: The module "builtin" is no more, replaced by "builtins" in Python 3. This affects Python Console.
Steps to reproduce:
With both Python 2.7 and 3.7 interpreters running, try doing the following:
import builtin
Actual behavior:
Module not found error is raised in Python 3.
Expected behavior:
The "__built__in" module is imported.
System configuration:
NVDA Installed/portable/running from source:
N/A
NVDA version:
N/A
Windows version:
N/A
Name and version of other software in use when reproducing the issue:
Python 2.7, 3.7
Other information about your system:
Not applicable
Other questions:
Does the issue still occur after restarting your PC?
N/A
Have you tried any other versions of NVDA?
N/A
Solution:
Apply the same procedure as #8590: import Python 2 version first, and then load Python 3 equivalent.
A note regarding a pull request for this issue: the resulting pull request will not only address this issue, but also import level problem in IAccessible object module, as well as plugging more relative import problems (mostly noted in UIA object module).
Thanks.
Hi,
Continuing from #8590: The module "builtin" is no more, replaced by "builtins" in Python 3. This affects Python Console.
Steps to reproduce:
With both Python 2.7 and 3.7 interpreters running, try doing the following:
import builtin
Actual behavior:
Module not found error is raised in Python 3.
Expected behavior:
The "__built__in" module is imported.
System configuration:
NVDA Installed/portable/running from source:
N/A
NVDA version:
N/A
Windows version:
N/A
Name and version of other software in use when reproducing the issue:
Python 2.7, 3.7
Other information about your system:
Not applicable
Other questions:
Does the issue still occur after restarting your PC?
N/A
Have you tried any other versions of NVDA?
N/A
Solution:
Apply the same procedure as #8590: import Python 2 version first, and then load Python 3 equivalent.
A note regarding a pull request for this issue: the resulting pull request will not only address this issue, but also import level problem in IAccessible object module, as well as plugging more relative import problems (mostly noted in UIA object module).
Thanks.