MCPcopy Create free account
hub / github.com/numpy/numpy / _get_glibc_version

Function _get_glibc_version

numpy/testing/_private/utils.py:2498–2504  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2496
2497
2498def _get_glibc_version():
2499 try:
2500 ver = os.confstr('CS_GNU_LIBC_VERSION').rsplit(' ')[1]
2501 except Exception:
2502 ver = '0.0'
2503
2504 return ver
2505
2506
2507_glibcver = _get_glibc_version()

Callers 1

utils.pyFile · 0.85

Calls 1

rsplitMethod · 0.80

Tested by

no test coverage detected