Jeffrey Kintscher <websur...@surf2c.net> added the comment:

Corrected typos in msg343336 for clarity:

At first glance, has_extended_colors() seems like a better name because it is 
similar to has_colors(), but the two functions have very different semantics 
that could confuse developers. has_extended_color_support() indicates available 
functionality in the underlying ncurses library that is set when the 
interpreter is compiled and linked, while has_colors() indicates available 
functionality of the current terminal at run-time. The name 
has_extended_colors() would imply that it indicates run-time terminal 
functionality and not static library functionality.

----------

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

Reply via email to