]> granicus.if.org Git - python/commit
Remove CALL_PROFILE special build
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 28 Nov 2016 10:59:04 +0000 (11:59 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 28 Nov 2016 10:59:04 +0000 (11:59 +0100)
commit048afd98b3d10fe17b4d7ec2e407f27b36b9380c
treec34e769ff6a51f4c7973f677fb06374d1e14985f
parent214678e44bf7773c0ed9c3684818354001d8f9ca
Remove CALL_PROFILE special build

Issue #28799:

* Remove the PyEval_GetCallStats() function.
* Deprecate the untested and undocumented sys.callstats() function.
* Remove the CALL_PROFILE special build

Use the sys.setprofile() function, cProfile or profile module to profile
function calls.
Doc/c-api/init.rst
Include/ceval.h
Misc/NEWS
Python/ceval.c
Python/sysmodule.c