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 <1507067675.78.0.213398074469.issue31680@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-10-03 21:54:35serhiy.storchakasetrecipients: + serhiy.storchaka, twouters, vstinner
2017-10-03 21:54:35serhiy.storchakasetmessageid: <1507067675.78.0.213398074469.issue31680@psf.upfronthosting.co.za>
2017-10-03 21:54:35serhiy.storchakalinkissue31680 messages
2017-10-03 21:54:35serhiy.storchakacreate