Author serhiy.storchaka
Recipients serhiy.storchaka, twouters, vstinner
Date 2017-10-03.21:54:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yes, this is what I meant. The version should be exposed as a tuple (major, minor, patch) or as a special named tuple. I don't know what to do with other implementations. NCURSES_VERSION_MAJOR is not a part of standard. One solution -- set the version to (0, 0, 0) for unknown implementations. Or expose ncurses version as optional ncurses_version, and expose versions for other known implementations with different names.

A known bug is issue15037. We still don't skip tests depending on the ncurses version because there is no easy way to determine the ncurses version in Python.
Date User Action Args
2017-10-03 21:54:35serhiy.storchakasetrecipients: + serhiy.storchaka, twouters, vstinner
2017-10-03 21:54:35serhiy.storchakasetmessageid: <>
2017-10-03 21:54:35serhiy.storchakalinkissue31680 messages
2017-10-03 21:54:35serhiy.storchakacreate