[New-bugs-announce] [issue37414] Remove sys.callstats()
STINNER Victor
report at bugs.python.org
Wed Jun 26 11:26:46 EDT 2019
New submission from STINNER Victor <vstinner at redhat.com>:
In Python 3.6, sys.callstats() was a way to retrieve statistics produced by Python/ceval.c when Python was compiled with a special build option: CALL_PROFILE. The function was implemented with PyEval_GetCallStats().
I removed CALL_PROFILE special build and deprecated sys.callstats() in bpo-28799:
commit a61a54b149cfcbcee15b37f557be730f0e30b6ad
Author: Victor Stinner <victor.stinner at gmail.com>
Date: Mon Nov 28 12:06:13 2016 +0100
Issue #28799: Update Misc/SpecialBuilds.txt
Remove CALL_PROFILE.
sys.callstats() always returned None since Python 3.7.
Attached PR removed sys.callstats().
----------
components: Interpreter Core
messages: 346634
nosy: vstinner
priority: normal
severity: normal
status: open
title: Remove sys.callstats()
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37414>
_______________________________________
More information about the New-bugs-announce
mailing list