Skip to content

Commit d211caa

Browse files
Anselm KruisAnselm Kruis
authored andcommitted
Stackless issue python#179: Adapt Tools/scripts/smelly.py to Stackless
Stackless private symbols start with 'slp_'. Add this prefix to the list of accepted prefixes.
1 parent c34dd24 commit d211caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/scripts/smelly.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def get_smelly_symbols(stdout):
4747
continue
4848

4949
symbol = parts[-1]
50-
if symbol.startswith(('Py', '_Py')):
50+
if symbol.startswith(('Py', '_Py', 'slp_')):
5151
continue
5252
symbol = '%s (type: %s)' % (symbol, symtype)
5353
symbols.append(symbol)

0 commit comments

Comments
 (0)