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 rigordo959
Recipients erik.bray, masamoto, rigordo, rigordo959, vstinner, zach.ware
Date 2017-06-09.16:24:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <A1D299E2-753D-42B1-A5BA-1131A24B4955@comcast.net>
In-reply-to <C733689B-AFBF-48C2-8C30-DBD49D37CE93@comcast.net>
Content
> On Jun 9, 2017, at 11:59 AM, Richard S. Gordon <rigordo@comcast.net> wrote:
> 
> 
>> On Jun 9, 2017, at 11:16 AM, STINNER Victor <report@bugs.python.org> wrote:
>> 
>> 
>> STINNER Victor added the comment:
>> 
>>> Generated colors appear to be corrupted by overloading text attribute with specified foreground and background colors.
>> 
>> Python doesn't contain anything in its stdlib to control the color of the terminal. Are you sure that you posted your bug report at the right place?
>> 
>> ----------
>> nosy: +haypo
>> 
>> _______________________________________
>> Python tracker <report@bugs.python.org>
>> <http://bugs.python.org/issue30609>
>> _______________________________________
> 
> My application, emulates the high level wxPython API, using the standard Python curses package. It uses such curses API methods as window.attron(text attribute) and window.attroff(text attribute). Now that ncurses 6.0 has been released, it supports 64-bit processors and 256+colors. Python 3.6.1 should have been updated to support the new ncurses 64-bit API. It does not seem to have been updated. With the ncurses5.x 32-bit API, the Python 2x and 3x curses modules supported up to 16 colors and up to 64 color pairs. The updated curses packages should support at least 256 colors and at least 65536 color pairs.
> 
> Richard S. Gordon

I neglected to state that ncurses 6.0 changed certain c/c++ data types to support the additional data bits needed to support more colors. The Python curses stdlib needs to reflect the new c/c++ ncurses data types.
History
Date User Action Args
2017-06-09 16:24:13rigordo959setrecipients: + vstinner, erik.bray, zach.ware, masamoto, rigordo
2017-06-09 16:24:13rigordo959linkissue30609 messages
2017-06-09 16:24:12rigordo959create