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
Exception in widget __del__ methods in Python 3.4. #5282
Comments
Nothing springs to mind, it looks like the _comm is getting cleaned up before the widget though. |
I think the problem is that if the widget's Does that make sense? Do we want closed to remain as a public API, in which case I'll turn it into a property? Or shall I just get rid of it entirely? |
Getting rid of |
That makes sense. I think I've only ever seen one case where someone was thinking of using closed, but the PR itself was closed (no pun intended). +1 for reducing the API's size. |
When I run the
html
section of the test suite on Python 3.4, I see a lot of exceptions in__del__
methods. Python 3.4 does have changes to object finalisation, which might be responsible for this. I'm looking into this, but @jdfreder, is there anything that springs to mind?Here's an example. I see the same traceback with a load of different classnames - TextWidget, FloatSliderWidget, DropdownWidget...
The text was updated successfully, but these errors were encountered: