Skip to content

Commit 8426b38

Browse files
committed
Add ignore file for the abidump check
1 parent 7c8796a commit 8426b38

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Doc/data/python3.9.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
@@ -759,7 +759,9 @@ regen-abidump: all
759759
@$(UPDATE_FILE) $(srcdir)/Doc/data/python$(LDVERSION).abi $(srcdir)/Doc/data/python$(LDVERSION).abi.new
760760

761761
check-abidump: all
762-
abidiff "libpython$(LDVERSION).so" $(srcdir)/Doc/data/python$(LDVERSION).abi --drop-private-types --no-architecture --no-added-syms
762+
abidiff "libpython$(LDVERSION).so" $(srcdir)/Doc/data/python$(LDVERSION).abi --drop-private-types \
763+
--suppressions $(srcdir)/Doc/data/python$(LDVERSION).abi.ignorefile \
764+
--no-architecture --no-added-syms
763765

764766
############################################################################
765767
# Regenerate all generated files

0 commit comments

Comments
 (0)