We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c69399 commit e4228dcCopy full SHA for e4228dc
Tools/build/smelly.py
@@ -127,7 +127,7 @@ def get_extension_libraries():
127
128
builddir = config_dir / pybuilddir
129
result = []
130
- for path in builddir.glob('**/*.so'):
+ for path in sorted(builddir.glob('**/*.so')):
131
if path.stem == IGNORED_EXTENSION:
132
continue
133
result.append(Library(path, is_dynamic=True))
@@ -162,7 +162,7 @@ def main():
162
for library in libraries:
163
symbols = get_exported_symbols(library)
164
print(f"{library.path}: {len(symbols)} symbol(s) found")
165
- for symbol in symbols:
+ for symbol in sorted(symbols):
166
print(" -", symbol.name)
167
if symbol.is_smelly:
168
smelly_symbols.append(symbol)
0 commit comments