[issue42681] mistake in curses documentation

2021-01-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +22911 pull_request: https://github.com/python/cpython/pull/24077 ___ Python tracker ___

[issue42681] mistake in curses documentation

2021-01-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 1470edd6131c29b8a09ce012cdfee3afa269d553 by Serhiy Storchaka in branch 'master': bpo-42681: Fix range checks for color and pair numbers in curses (GH-23874) https://github.com/python/cpython/commit/1470edd6131c29b8a09ce012cdfee3afa269d553 --

[issue42681] mistake in curses documentation

2020-12-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +22736 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23874 ___ Python tracker ___

[issue42681] mistake in curses documentation

2020-12-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Good catch! And it is not only documentation issue now. Since color numbers and pair numbers use different range checks, this prevents using this function with pair numbers larger that COLORS (should be accepted up to COLOR_PAIRS-1). Seems there is also ot

[issue42681] mistake in curses documentation

2020-12-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue42681] mistake in curses documentation

2020-12-19 Thread Zackery Spytz
Zackery Spytz added the comment: Please explain why you believe this is a mistake. -- nosy: +ZackerySpytz ___ Python tracker ___ __

[issue42681] mistake in curses documentation

2020-12-18 Thread Robert T McQuaid
New submission from Robert T McQuaid : The description of color_pair starts with curses.color_pair(color_number) It should be curses.color_pair(pair_number) -- assignee: docs@python components: Documentation messages: 383344 nosy: arbor, docs@python priority: normal severity: normal