Skip to content

Commit 3da7e56

Browse files
DinoVmeta-codesync[bot]
authored andcommitted
Port smelly prefix to 3.15
Summary: In 3.14 we allow `_Ci_Py` as a prefix for non-smelly symbols. This applies the same change to 3.15. <!-- pyimport-metadata:begin --> This diff adds a patch to the `third-party/python/3.15` Meta-internal fork. Add Cinder prefix to smelly symbols Reviewed By: itamaro Differential Revision: D108065269 fbshipit-source-id: 9af66ac01ad1caa48a8038ee12f0ed0a52468b74
1 parent 8a84107 commit 3da7e56

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tools/build/smelly.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
import sys
1414
import sysconfig
1515

16-
ALLOWED_PREFIXES = ('Py', '_Py')
16+
ALLOWED_PREFIXES = ('Py', '_Py', '_Ci_Py')
1717
if sys.platform == 'darwin':
18-
ALLOWED_PREFIXES += ('__Py',)
18+
ALLOWED_PREFIXES += ('__Py', '__Ci_Py')
1919

2020
# mimalloc doesn't use static, but it's symbols are not exported
2121
# from the shared library. They do show up in the static library

0 commit comments

Comments
 (0)