Global commands: restore commands affected by division operator differences between Python 2 and 3 #9748
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Link to issue number:
Another variant of #9641
Summary of the issue:
Global commands involving divisoin operators are broken in Python 3: move mouse to navigator object and battery status.
Description of how this pull request fixes the issue:
Changed one slash to two slashes for affected commands.
Testing performed:
Compiled a Python 3 version of NVDA and ran affected commands before and after division operator change.
Known issues with pull request:
None
Change log entry:
None
Additional context:
There are division operator issues in other files that cannot be patched until UI Access privilege is restored, the most prominent one being touch tracking (may or may not be an integer when calculating touch gesture tracking).