Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: PR 4217 adds a named tuple curses.ncurses_version containing the three components of the ncurses library version: major, minor, and patch.
>>> curses.ncurses_version curses.ncurses_version(major=6, minor=0, patch=20160625) Other curses implementation don't provide a version programmically. ---------- assignee: -> serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31680> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com