diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-11-28 10:59:04 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-11-28 10:59:04 (GMT) |
commit | 048afd98b3d10fe17b4d7ec2e407f27b36b9380c (patch) | |
tree | c34e769ff6a51f4c7973f677fb06374d1e14985f /Misc | |
parent | 214678e44bf7773c0ed9c3684818354001d8f9ca (diff) | |
download | cpython-048afd98b3d10fe17b4d7ec2e407f27b36b9380c.zip cpython-048afd98b3d10fe17b4d7ec2e407f27b36b9380c.tar.gz cpython-048afd98b3d10fe17b4d7ec2e407f27b36b9380c.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -10,6 +10,11 @@ What's New in Python 3.7.0 alpha 1 Core and Builtins ----------------- +- Issue #28799: Remove the ``PyEval_GetCallStats()`` function and deprecate + the untested and undocumented ``sys.callstats()`` function. Remove the + ``CALL_PROFILE`` special build: use the :func:`sys.setprofile` function, + :mod:`cProfile` or :mod:`profile` to profile function calls. + - Issue #12844: More than 255 arguments can now be passed to a function. - Issue #28782: Fix a bug in the implementation ``yield from`` when checking |