MCPcopy Index your code
hub / github.com/numpy/numpy / _get_glibc_version

Function _get_glibc_version

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

Source from the content-addressed store, hash-verified

2795
2796
2797def _get_glibc_version():
2798 try:
2799 ver = os.confstr('CS_GNU_LIBC_VERSION').rsplit(' ')[1]
2800 except Exception:
2801 ver = '0.0'
2802
2803 return ver
2804
2805
2806_glibcver = _get_glibc_version()

Callers 1

utils.pyFile · 0.85

Calls 1

rsplitMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…