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

bpo-38312: Add curses.{get,set}_escdelay and curses.{get,set}_tabsize #16938

Merged
merged 1 commit into from
Oct 31, 2019

Conversation

asottile
Copy link
Contributor

@asottile asottile commented Oct 26, 2019

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a 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.

Modules/_cursesmodule.c Outdated Show resolved Hide resolved
@asottile
Copy link
Contributor Author

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?

@serhiy-storchaka
Copy link
Member

Yes, testing that functions exist and do not crash is the minimum. Many functions in the curses module do not have better testing.

@asottile
Copy link
Contributor Author

tests and what's new added \o/ -- thanks for the review :)

@asottile asottile changed the title bpo-38312: Add curses.set_escdelay and curses.set_tabsize bpo-38312: Add curses.{get,set}_escdelay and curses.{get,set}_tabsize Oct 29, 2019
Copy link
Member

@serhiy-storchaka serhiy-storchaka left a 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.

@asottile
Copy link
Contributor Author

Add also versionadded to get_escdelay and get_tabsize.

oops! added :)

@serhiy-storchaka
Copy link
Member

Thanks @asottile!

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 this pull request may close these issues.

4 participants