Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Well, a simple documentation issue has grown into large and complex changes 
that fix several bugs.

* Incorrect parameter name in color_pair().
* Incorrectly documented ranges for color and pair numbers.
* Based on incorrect documentation, incorrect checks was implemented in the 
code.
* It was not caught earlier because most tests were skipped on buildbots.
* BTW ncurses accepts some values outside of the documented ranges.
* But ncurses 6.1 does not accept all values in the documented ranges.
* There were other minor bugs introduced in issue36982.

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42681>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to