Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add ignore file for the abidump check
  • Loading branch information
pablogsal committed Apr 9, 2021
commit 22a76b462cdc29e3edb3c44ce22492a07d63da8f
8 changes: 8 additions & 0 deletions Doc/data/python3.8.abi.ignorefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[suppress_type]
name_regexp = _Py.*

[suppress_variable]
name_regexp = _Py.*

[suppress_function]
name_regexp = _Py.*
4 changes: 3 additions & 1 deletion Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,9 @@ regen-abidump: all
@$(UPDATE_FILE) $(srcdir)/Doc/data/python$(LDVERSION).abi $(srcdir)/Doc/data/python$(LDVERSION).abi.new

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

############################################################################
# Regenerate all generated files
Expand Down