[issue26544] platform.libc_ver() returns incorrect version number
Nathaniel Smith
report at bugs.python.org
Sun Jul 10 11:14:08 EDT 2016
Nathaniel Smith added the comment:
> The purpose of the function was to determine the minimum libc compatibility requirements of the executable.
For what it's worth, I didn't know this, the pip authors obviously didn't know this, and after rereading the docs just now I still can't quite tell that this was intended. I'm not sure why one would want these semantics either, but at a minimum it would help to document the intended semantics much more clearly.
> parsing needs to be kept around as fallback solution
The point of the data I attached was that AFAICT there don't exist any currently-in-use, non-glibc systems where "parsing" returns a meaningful result.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26544>
_______________________________________
More information about the Python-bugs-list
mailing list