-
Notifications
You must be signed in to change notification settings - Fork 233
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
Port deprecated urwid accessors #603
Conversation
The deprecations from EDIT: I have |
e262a98
to
a716972
Compare
It's not not intended. :) It's certainly better than having them land on just stdout/stderr (where they would haphazardly overwrite the UI). |
a716972
to
fe58164
Compare
@inducer This should be good to go for a review. |
Do we know when urwid introduced these constants? (And should we set a version bound to make sure we have them?) |
Do you mean those So it seems safe to just let them be at this point? |
Agreed. Thanks! |
Turns out this was still quite broken in places. #604 fixes up the issues that I'm aware of. |
Ouf, sorry about that (and thanks for fixing it)! Feel free to ping me if something's still broken 😞 |
urwid
started being a bit more vocal about deprecations in urwid/urwid@8a0a6d1. The recommended variants (e.g.w.focus
vsw.get_focus()
) seem to have been around for a while, so this just ports everything to use the property-based interface.I am very unsure this is correct, so probably needs some proper testing or a knowledgeable reviewer. I tried using most shortcuts I know and opening things (variables, stack, breakpoints, etc) and it seems to work.