mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-29854: test_readline logs versions (#2619)
* test_readline logs the versions of libreadline when run in verbose mode * Add also readline._READLINE_LIBRARY_VERSION
This commit is contained in:
parent
fae8f4a9cb
commit
1881befb90
2 changed files with 19 additions and 2 deletions
|
@ -1427,6 +1427,7 @@ PyInit_readline(void)
|
|||
|
||||
PyModule_AddIntConstant(m, "_READLINE_VERSION", RL_READLINE_VERSION);
|
||||
PyModule_AddIntConstant(m, "_READLINE_RUNTIME_VERSION", rl_readline_version);
|
||||
PyModule_AddStringConstant(m, "_READLINE_LIBRARY_VERSION", rl_library_version);
|
||||
|
||||
return m;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue