Skip to content

Stop using deprecated wx.yield #8679

@LeonarddeR

Description

@LeonarddeR

cc @josephsl

Steps to reproduce:

Run NVDA or explicitly call wx.Yield from the python console.

Actual behavior:

The following is printed in the log:

DEBUGWARNING - Python warning (10:03:30.427):
C:\Program Files (x86)\NVDA\library.zip\api.py:274: DeprecationWarning: Yield() is deprecated

Expected behavior:

No deprecation warnings should be raised

System configuration:

NVDA Installed/portable/running from source:

Installed

NVDA version:

2018.3 Beta

Windows version:

N/a

Name and version of other software in use when reproducing the issue:

n/a

Other information about your system:

n/a

Other questions:

Does the issue still occur after restarting your PC?

Yes

Have you tried any other versions of NVDA?

Yes. This does not happen in 2018.2.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions