gh-117404: Add structured version info for compression modules - #117405
gh-117404: Add structured version info for compression modules#117405serhiy-storchaka wants to merge 6 commits into
Conversation
* Add named tuples zlib_version and zlib_runtime_version in the zlib module. * Add string BZLIB_VERSION and named tuple bzlib_version in the bz2 module. * Add strings LZMA_VERSION and LZMA_RUNTIME_VERSION and named tuples lzma_version and lzma_runtime_version in the lzma module.
|
How about we shorten the names, there is no need to repeat the module name in the name of the constant. |
Perhaps we should use the same prefixes we use for the corresponding |
That'd take us in the wrong direction. These are for use by people writing Python code, not for use by people who build CPython. this is a bikeshed, we could also argue that constants must always be in CAPS and ask for |
|
Let continue the main design discussion on the issue, and only use PR for discussing minor implementation details. |
|
This PR is stale because it has been open for 30 days with no activity. |
Documentation build overview
|
|
This PR is stale because it has been open for 90 days with no activity. |
📚 Documentation preview 📚: https://cpython-previews--117405.org.readthedocs.build/