[issue31680] Expose curses library name and version on Python level

Serhiy Storchaka report at bugs.python.org
Tue Oct 3 15:39:02 EDT 2017


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

The name and the version of the curses library are needed for work around bugs in old versions or skip tests on platforms that provide broken curses library (like OpenBSD providing ncurses 5.7).

The curses and _curses modules provide the attribute "version" (= b'2.2'), but this is just a version of the module.

----------
components: Extension Modules
messages: 303640
nosy: serhiy.storchaka, twouters
priority: normal
severity: normal
status: open
title: Expose curses library name and version on Python level
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31680>
_______________________________________


More information about the Python-bugs-list mailing list