Index: Makefile.pre.in =================================================================== --- Makefile.pre.in (revision 77480) +++ Makefile.pre.in (working copy) @@ -1183,10 +1183,11 @@ -o -name '*.bak' ')' \ -exec rm -f {} ';' -# Check for smelly exported symbols (not starting with Py/_Py) +# Check for smelly exported symbols (not starting with Py/_Py/init[_a-z]+) smelly: all nm -p $(LIBRARY) | \ - sed -n "/ [TDB] /s/.* //p" | grep -v "^_*Py" | sort -u; \ + sed -n "/ [TDB] /s/.* //p" | grep -v "^_*Py" | \ + grep -v -E "^init[_a-z]+" | sort -u; \ # Find files with funny names funny: