[issue4555] Smelly exports

Dave Malcolm report at bugs.python.org
Wed Jan 13 21:18:38 CET 2010


Dave Malcolm <dmalcolm at redhat.com> added the comment:

Re: msg #77350:
> I propose to simply filter out init[_a-z]+ from the set of "bad" 
> symbols.

I'm attaching a patch (to trunk) to Makefile.pre.in which filters out such symbols.

Relevant part of output of "make smelly" on my svn build with this patch:
nm -p libpython2.7.a | \
		sed -n "/ [TDB] /s/.* //p" | grep -v "^_*Py" | \
		grep -v -E "^init[_a-z]+" | sort -u; \

_add_one_to_index_C
_add_one_to_index_F
asdl_int_seq_new
asdl_seq_new

----------
keywords: +patch
nosy: +dmalcolm
Added file: http://bugs.python.org/file15861/fix-make-smelly-on-trunk.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4555>
_______________________________________


More information about the Python-bugs-list mailing list