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

Function sorted_glob

numpy/distutils/misc_util.py:261–264  ·  view source on GitHub ↗

sorts output of python glob for https://bugs.python.org/issue30461 to allow extensions to have reproducible build results

(fileglob)

Source from the content-addressed store, hash-verified

259 return os.sep.join(l)
260
261def sorted_glob(fileglob):
262 """sorts output of python glob for https://bugs.python.org/issue30461
263 to allow extensions to have reproducible build results"""
264 return sorted(glob.glob(fileglob))
265
266def _fix_paths(paths, local_path, include_non_existing):
267 assert is_sequence(paths), repr(type(paths))

Callers 3

_fix_pathsFunction · 0.85
_get_headersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected