Skip to content

Commit 22a76b4

Browse files
committed
Add ignore file for the abidump check
1 parent ffb05bb commit 22a76b4

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Doc/data/python3.8.abi.ignorefile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[suppress_type]
2+
name_regexp = _Py.*
3+
4+
[suppress_variable]
5+
name_regexp = _Py.*
6+
7+
[suppress_function]
8+
name_regexp = _Py.*

Makefile.pre.in

+3-1
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,9 @@ regen-abidump: all
731731
@$(UPDATE_FILE) $(srcdir)/Doc/data/python$(LDVERSION).abi $(srcdir)/Doc/data/python$(LDVERSION).abi.new
732732

733733
check-abidump: all
734-
abidiff "libpython$(LDVERSION).so" $(srcdir)/Doc/data/python$(LDVERSION).abi --drop-private-types --no-architecture --no-added-syms
734+
abidiff "libpython$(LDVERSION).so" $(srcdir)/Doc/data/python$(LDVERSION).abi --drop-private-types \
735+
--suppressions $(srcdir)/Doc/data/python$(LDVERSION).abi.ignorefile \
736+
--no-architecture --no-added-syms
735737

736738
############################################################################
737739
# Regenerate all generated files

0 commit comments

Comments
 (0)