]> granicus.if.org Git - python/commit
bpo-31810: Add smelly.py to check exported symbols (#4057)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 24 Oct 2017 08:29:53 +0000 (01:29 -0700)
committerGitHub <noreply@github.com>
Tue, 24 Oct 2017 08:29:53 +0000 (01:29 -0700)
commit87d332dcdbffe8ff60d99f74b1ad241c0967b055
tree5237dbe65d2354c16cc71b0b5d13b1eb52b75d4e
parent1aa00ff383c43335e4a5044274617dbf59bc839e
bpo-31810: Add smelly.py to check exported symbols (#4057)

* Add Tools/scripts/smelly.py: script checking if all symbols
  exported by libpython start with "Py" or "_Py".
* Modify "make smelly" to run smelly.py: the command now fails with a
  non-zero exit code if libpython leaks a "smelly" symbol.
* Travis CI now runs "make smelly"
.travis.yml
Makefile.pre.in
Tools/scripts/smelly.py [new file with mode: 0755]