This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ZackerySpytz, arbor, docs@python, pablogsal, serhiy.storchaka, vstinner
Date 2021-01-05.14:33:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609857217.32.0.988374798024.issue42681@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-01-05 14:33:37serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, docs@python, ZackerySpytz, pablogsal, arbor
2021-01-05 14:33:37serhiy.storchakasetmessageid: <1609857217.32.0.988374798024.issue42681@roundup.psfhosted.org>
2021-01-05 14:33:37serhiy.storchakalinkissue42681 messages
2021-01-05 14:33:37serhiy.storchakacreate