[issue31680] Expose curses library name and version on Python level
Serhiy Storchaka
report at bugs.python.org
Wed Nov 1 09:51:09 EDT 2017
Serhiy Storchaka <storchaka+cpython at 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 <report at bugs.python.org>
<https://bugs.python.org/issue31680>
_______________________________________
More information about the Python-bugs-list
mailing list