Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LogNull context manager not working in 4.0?#1842

Closed
cbeytas opened this issue Nov 8, 2020 · 1 comment · Fixed by #1845
Closed

LogNull context manager not working in 4.0? #1842

cbeytas opened this issue Nov 8, 2020 · 1 comment · Fixed by #1845

Comments

@cbeytas
Copy link
Contributor

cbeytas commented Nov 8, 2020

wxPython 4.0.7 in Windows 7/10 with Python 3.8

The Context Manager for wx.LogNull doesn't seem to be working. This used to work in wxPython 2.x/3.x

with wx.LogNull():
    image = wx.Image(image_path)

Now it throws AttributeError: __exit__

@RobinD42
Copy link
Member

This issue has been mentioned on Discuss wxPython. There might be relevant details there:

https://discuss.wxpython.org/t/wxpython-4-1-1-released/35043/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants