-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
bpo-38312: Add curses.{get,set}_escdelay and curses.{get,set}_tabsize #16938
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add tests and a What's New entry.
For tests I'm not sure it's possible to demonstrate the behaviour -- should I just call the functions and ensure they don't crash? |
Yes, testing that functions exist and do not crash is the minimum. Many functions in the curses module do not have better testing. |
8ca65d9
to
0ed9eeb
Compare
tests and what's new added \o/ -- thanks for the review :) |
0ed9eeb
to
7f381b8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add also versionadded to get_escdelay and get_tabsize.
Oh, seems there is no get_tabsize in ncurses. But it is okay.
7f381b8
to
43b90d7
Compare
oops! added :) |
Thanks @asottile! |
https://bugs.python.org/issue38312